Message ID | ebb05fd20908312205v2c6184bfi88eff30bf0834356@mail.gmail.com |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
diff -pu iputils-s20071127/ping_common.c iputils-jamie/ping_common.c --- iputils-s20071127/ping_common.c 2007-11-26 19:57:27.000000000 -0500 +++ iputils-jamie/ping_common.c 2009-09-01 00:10:58.000000000 -0400 @@ -473,7 +473,7 @@ void setup(int icmp_sock) *p++ = i; } - ident = getpid() & 0xFFFF; + ident = htons(getpid() & 0xFFFF); set_signal(SIGINT, sigexit); set_signal(SIGALRM, sigexit);