]> The Tcpdump Group git mirrors - tcpdump/commitdiff
display cosmetics to better indicate that we are dissecting IPX frames
authorhannes <hannes>
Sat, 1 May 2004 10:06:55 +0000 (10:06 +0000)
committerhannes <hannes>
Sat, 1 May 2004 10:06:55 +0000 (10:06 +0000)
print-ipx.c

index 67e1e6dbf8d5a733417219c551810db9f4adba14..2bb56b8a412fe103d5d70be41b28b001f836bbf0 100644 (file)
@@ -24,7 +24,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ipx.c,v 1.38 2004-04-30 23:50:59 hannes Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ipx.c,v 1.39 2004-05-01 10:06:55 hannes Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -54,6 +54,9 @@ void ipx_rip_print(const u_short *, u_int);
 void
 ipx_print(const u_char *p, u_int length)
 {
+        if (!eflag)
+            printf("IPX ");
+
        const struct ipxHdr *ipx = (const struct ipxHdr *)p;
 
        TCHECK(ipx->srcSkt);