From: hannes Date: Sat, 1 May 2004 10:06:55 +0000 (+0000) Subject: display cosmetics to better indicate that we are dissecting IPX frames X-Git-Tag: tcpdump-3.9.1~360 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/8cef204d344a7bffb10f8d6a51f8000e12454feb display cosmetics to better indicate that we are dissecting IPX frames --- diff --git a/print-ipx.c b/print-ipx.c index 67e1e6db..2bb56b8a 100644 --- a/print-ipx.c +++ b/print-ipx.c @@ -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);