#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.56 2003-12-29 19:57:30 hannes Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.57 2004-05-01 09:38:24 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H
orgcode = EXTRACT_24BITS(&llc.llc_orgcode[0]);
et = EXTRACT_16BITS(&llc.llc_ethertype[0]);
+
+ if (eflag)
+ (void)printf("oui 0x%06x, ethertype %s (0x%04x): ",
+ orgcode,
+ tok2str(ethertype_values,"Unknown", et),
+ et);
+
/*
* XXX - what *is* the right bridge pad value here?
* Does anybody ever bridge one form of LAN traffic
length -= 4;
caplen -= 4;
}
- (void)printf(" len=%d", length);
return(1);
}