summaryrefslogtreecommitdiff
path: root/print-llc.c
diff options
context:
space:
mode:
authorhannes <hannes>2004-05-01 10:06:00 +0000
committerhannes <hannes>2004-05-01 10:06:00 +0000
commit99211ae473143ac1cc2bdcdb90ddf2a9dc039074 (patch)
tree694ea84bae0bbe0b1ea5bd0826b2f082459dbc40 /print-llc.c
parentb0658cd23400141d93162ca142de7cc3bbcf5d21 (diff)
downloadtcpdump-99211ae473143ac1cc2bdcdb90ddf2a9dc039074.tar.gz
hide the IPX 802.3 indication under the eflag
Diffstat (limited to 'print-llc.c')
-rw-r--r--print-llc.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/print-llc.c b/print-llc.c
index ceb94ba3..72fe141a 100644
--- a/print-llc.c
+++ b/print-llc.c
@@ -24,7 +24,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.57 2004-05-01 09:38:24 hannes Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.58 2004-05-01 10:06:00 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -116,9 +116,12 @@ llc_print(const u_char *p, u_int length, u_int caplen,
* such as an 802.11 network; this has appeared in at
* least one capture file.)
*/
- printf("(NOV-802.3) ");
- ipx_print(p, length);
- return (1);
+
+ if (eflag)
+ printf("IPX-802.3: ");
+
+ ipx_print(p, length);
+ return (1);
}
if (llc.ssap == LLCSAP_8021D && llc.dsap == LLCSAP_8021D) {