]> The Tcpdump Group git mirrors - tcpdump/commitdiff
newline the truncated indicator - its's a little friendlier to scripts
authorhannes <hannes>
Fri, 17 Jan 2003 11:07:49 +0000 (11:07 +0000)
committerhannes <hannes>
Fri, 17 Jan 2003 11:07:49 +0000 (11:07 +0000)
print-bgp.c

index 989987510d0fdf6b375e87b84fb1eb2ad359e0a0..3333eea0f3904399d4b6d39a558e62e3e315c388 100644 (file)
@@ -36,7 +36,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.57 2002-12-15 08:33:23 hannes Exp $";
+     "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.58 2003-01-17 11:07:49 hannes Exp $";
 #endif
 
 #include <tcpdump-stdinc.h>
@@ -1514,7 +1514,7 @@ bgp_print(const u_char *dat, int length)
                        p += hlen;
                        start = p;
                } else {
-                       printf("[|BGP %s]", tok2str(bgp_msg_values, "Unknown Message Type",bgp.bgp_type));
+                       printf("\n[|BGP %s]", tok2str(bgp_msg_values, "Unknown Message Type",bgp.bgp_type));
                        break;
                }
        }