]> The Tcpdump Group git mirrors - tcpdump/commitdiff
hide link-layer information correct under the eflag
authorhannes <hannes>
Thu, 8 May 2003 14:25:04 +0000 (14:25 +0000)
committerhannes <hannes>
Thu, 8 May 2003 14:25:04 +0000 (14:25 +0000)
print-ppp.c

index 274e0e32a576754ca41f7b27a036dc1d762dfa8f..c9dc9bbbb943a177436c4e7809285bc2ce5326d9 100644 (file)
@@ -31,7 +31,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.80 2002-12-19 09:39:14 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.81 2003-05-08 14:25:04 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -1026,7 +1026,7 @@ ppp_print(register const u_char *p, u_int length)
                hdr_len += 2;
        }
 
-        if (vflag)
+        if (eflag)
             printf("PPP-%s (length: %u): ",
                    tok2str(ppptype2str, "unknown (0x%04x)", proto),
                    olen);