]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Propagate change from the main branch:
authorguy <guy>
Mon, 29 Jan 2007 20:57:47 +0000 (20:57 +0000)
committerguy <guy>
Mon, 29 Jan 2007 20:57:47 +0000 (20:57 +0000)
  revision 1.157
  date: 2007-01-17 17:55:01 +0000;  author: hannes;  state: Exp;  lines: +2 -2
  from Kevin Steves <[email protected]>:

  format the ttl field not with heading whitespaces for ttl < 100 and ttl < 10

print-ip.c

index c0782925bd0449272608e36adb4fba7d363c28da..3b967ec9df15d976d885d20dd3c2a01edb6d97e7 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.149.2.7 2007-01-17 14:09:38 hannes Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.149.2.8 2007-01-29 20:57:47 guy 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.