diff options
author | Xin LI <delphij@FreeBSD.org> | 2013-05-31 22:55:23 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2013-05-31 22:55:23 +0000 |
commit | 049c53d3ff3f12654b0c01574f275b68d731d172 (patch) | |
tree | 65198a1e91df79f40c47c94df7001ba84c2e6fc4 /contrib/tcpdump | |
parent | 28bb6b493a000a4d1247d5ff57685bc65327c46d (diff) | |
parent | 74c5118c7b50494087423c9f3f6e17264f0e4dbb (diff) | |
download | src-test-049c53d3ff3f12654b0c01574f275b68d731d172.tar.gz src-test-049c53d3ff3f12654b0c01574f275b68d731d172.zip |
MFV: Redo the fixup using the submitted version accepted by upstream.
Notes
Notes:
svn path=/head/; revision=251210
Diffstat (limited to 'contrib/tcpdump')
-rw-r--r-- | contrib/tcpdump/print-rip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/tcpdump/print-rip.c b/contrib/tcpdump/print-rip.c index 0aaa2a695946a..e941947dd37c6 100644 --- a/contrib/tcpdump/print-rip.c +++ b/contrib/tcpdump/print-rip.c @@ -17,8 +17,6 @@ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - * - * $FreeBSD$ */ #ifndef lint @@ -143,7 +141,7 @@ rip_entry_print_v2(register const struct rip_netinfo *ni, const unsigned remaini putchar (isprint(*p) ? *p : '.'); } else if (auth_type == 3) { printf("\n\t Auth header:"); - printf(" Packet Len %u,", EXTRACT_16BITS((u_int16_t *)ni + 2)); + printf(" Packet Len %u,", EXTRACT_16BITS((u_int8_t *)ni + 4)); printf(" Key-ID %u,", *((u_int8_t *)ni + 6)); printf(" Auth Data Len %u,", *((u_int8_t *)ni + 7)); printf(" SeqNo %u,", EXTRACT_32BITS(&ni->rip_dest_mask)); |