summaryrefslogtreecommitdiff
path: root/print-sll.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-03-26 18:52:40 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-03-26 18:52:40 +0400
commit979fc38d033c43d68149954d64c93a273d358040 (patch)
tree353c1e328003ebe99036e6996809387a956d59e9 /print-sll.c
parent857f4889f3a7be95e2fda9f004f6d7c497c5ace7 (diff)
downloadtcpdump-979fc38d033c43d68149954d64c93a273d358040.tar.gz
make use of ND_DEFAULTPRINT()
Diffstat (limited to 'print-sll.c')
-rw-r--r--print-sll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-sll.c b/print-sll.c
index 6eda8195..82bb4d63 100644
--- a/print-sll.c
+++ b/print-sll.c
@@ -265,7 +265,7 @@ recurse:
etherproto_string(htons(extracted_ethertype))));
}
if (!ndo->ndo_suppress_default_print)
- ndo->ndo_default_print(ndo, p, caplen);
+ ND_DEFAULTPRINT(p, caplen);
break;
}
} else if (ether_type == ETHERTYPE_8021Q) {
@@ -303,7 +303,7 @@ recurse:
if (!ndo->ndo_eflag)
sll_print(ndo, sllp, length + SLL_HDR_LEN);
if (!ndo->ndo_suppress_default_print)
- ndo->ndo_default_print(ndo, p, caplen);
+ ND_DEFAULTPRINT(p, caplen);
}
}