From: hannes Date: Wed, 17 Jan 2007 17:55:01 +0000 (+0000) Subject: from Kevin Steves : X-Git-Tag: tcpdump-4.0.0~175 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/1f30d54a0f528d6c2130afd09f4e3962b9ec7f93 from Kevin Steves : format the ttl field not with heading whitespaces for ttl < 100 and ttl < 10 --- diff --git a/print-ip.c b/print-ip.c index 0529fa5b..e38195c0 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.157 2007-01-17 17:55:01 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -633,7 +633,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.