diff options
author | hannes <hannes> | 2004-05-01 10:06:55 +0000 |
---|---|---|
committer | hannes <hannes> | 2004-05-01 10:06:55 +0000 |
commit | 8cef204d344a7bffb10f8d6a51f8000e12454feb (patch) | |
tree | 79fdcd0620e5d2c00aa3d0e03aabcaef7112773e /print-ipx.c | |
parent | 99211ae473143ac1cc2bdcdb90ddf2a9dc039074 (diff) | |
download | tcpdump-8cef204d344a7bffb10f8d6a51f8000e12454feb.tar.gz |
display cosmetics to better indicate that we are dissecting IPX frames
Diffstat (limited to 'print-ipx.c')
-rw-r--r-- | print-ipx.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |