diff options
author | sam <sam@FreeBSD.org> | 2006-09-04 20:04:42 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-09-04 20:04:42 +0000 |
commit | a6a758d9f4a0eef22ccec65dd1dd468fdaa1f052 (patch) | |
tree | 1cc8d2a0d0105d5f0de51384c9f1981ef4b5e293 /contrib/tcpdump/print-ldp.c | |
parent | aff9fbdea15651bd8316a35944ed2b9ad7ad4e45 (diff) | |
parent | 498672d44881880f8839eb7839500652b77e08b9 (diff) | |
download | FreeBSD-src-a6a758d9f4a0eef22ccec65dd1dd468fdaa1f052.zip FreeBSD-src-a6a758d9f4a0eef22ccec65dd1dd468fdaa1f052.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r162017,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/tcpdump/print-ldp.c')
-rw-r--r-- | contrib/tcpdump/print-ldp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tcpdump/print-ldp.c b/contrib/tcpdump/print-ldp.c index e296508..fb44923 100644 --- a/contrib/tcpdump/print-ldp.c +++ b/contrib/tcpdump/print-ldp.c @@ -16,7 +16,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.8.2.5 2005/06/16 01:10:35 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.8.2.6 2005/07/11 20:24:34 hannes Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -302,7 +302,7 @@ ldp_tlv_print(register const u_char *tptr) { printf("IPv4, addresses:"); for (i=0; i<(tlv_tlen-2)/4; i++) { printf(" %s",ipaddr_string(tptr)); - tptr+=4; + tptr+=sizeof(struct in_addr); } } #ifdef INET6 @@ -310,7 +310,7 @@ ldp_tlv_print(register const u_char *tptr) { printf("IPv6, addresses:"); for (i=0; i<(tlv_tlen-2)/16; i++) { printf(" %s",ip6addr_string(tptr)); - tptr+=16; + tptr+=sizeof(struct in6_addr); } } #endif |