]> The Tcpdump Group git mirrors - tcpdump/commitdiff
remove extra \n on unknwon ppp protocol code.
authoritojun <itojun>
Sun, 28 May 2000 06:29:43 +0000 (06:29 +0000)
committeritojun <itojun>
Sun, 28 May 2000 06:29:43 +0000 (06:29 +0000)
print-ppp.c

index e3c5462c5ed7c88dd8deee9b9409e810fe22b0e5..8ee278fd821dfb7d54759b37b536b795c8cc900f 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.37 2000-05-23 16:56:08 itojun Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.38 2000-05-28 06:29:43 itojun Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -222,7 +222,7 @@ ppp_protoname(int proto)
        case PPP_CHAP:  return "CHAP";
 #endif
        default:
-               snprintf(buf, sizeof(buf), "unknown-0x%04x\n", proto);
+               snprintf(buf, sizeof(buf), "unknown-0x%04x", proto);
                return buf;
        }
 }