X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/9b070a6e94d4322bf15807e294f4c5a4826fba03..c202a9fa8922a7b5f7677232d6a232150e6686d0:/print-ip.c diff --git a/print-ip.c b/print-ip.c index 0529fa5b..8bdf5ebc 100644 --- a/print-ip.c +++ b/print-ip.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.156 2007-01-17 14:07:36 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.159 2007-09-14 01:29:28 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -50,6 +50,7 @@ struct tok ip_option_values[] = { { IPOPT_SSRR, "SSRR" }, { IPOPT_LSRR, "LSRR" }, { IPOPT_RA, "RA" }, + { IPOPT_RFC1393, "traceroute" }, { 0, NULL } }; @@ -633,7 +634,7 @@ ip_print(netdissect_options *ndo, } if (ipds->ip->ip_ttl >= 1) - (void)printf(", ttl %3u", ipds->ip->ip_ttl); + (void)printf(", ttl %u", ipds->ip->ip_ttl); /* * for the firewall guys, print id, offset. @@ -665,7 +666,7 @@ ip_print(netdissect_options *ndo, } } - printf(") "); + printf(")\n "); } /*