summaryrefslogtreecommitdiff
path: root/print-atm.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-atm.c')
-rw-r--r--print-atm.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/print-atm.c b/print-atm.c
index b5d3385f..82a012ba 100644
--- a/print-atm.c
+++ b/print-atm.c
@@ -218,15 +218,8 @@ static void
atm_llc_print(netdissect_options *ndo,
const u_char *p, int length, int caplen)
{
- u_short extracted_ethertype;
-
- if (!llc_print(ndo, p, length, caplen, NULL, NULL,
- &extracted_ethertype)) {
+ if (!llc_print(ndo, p, length, caplen, NULL, NULL)) {
/* ether_type not known, print raw packet */
- if (extracted_ethertype) {
- ND_PRINT((ndo, "(LLC %s) ",
- etherproto_string(htons(extracted_ethertype))));
- }
if (!ndo->ndo_suppress_default_print)
ND_DEFAULTPRINT(p, caplen);
}