diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-26 18:52:40 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-26 18:52:40 +0400 |
commit | 979fc38d033c43d68149954d64c93a273d358040 (patch) | |
tree | 353c1e328003ebe99036e6996809387a956d59e9 /print-fddi.c | |
parent | 857f4889f3a7be95e2fda9f004f6d7c497c5ace7 (diff) | |
download | tcpdump-979fc38d033c43d68149954d64c93a273d358040.tar.gz |
make use of ND_DEFAULTPRINT()
Diffstat (limited to 'print-fddi.c')
-rw-r--r-- | print-fddi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-fddi.c b/print-fddi.c index e79ab98f..413a6efb 100644 --- a/print-fddi.c +++ b/print-fddi.c @@ -320,7 +320,7 @@ fddi_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen) etherproto_string(htons(extracted_ethertype)))); } if (!ndo->ndo_suppress_default_print) - ndo->ndo_default_print(ndo, p, caplen); + ND_DEFAULTPRINT(p, caplen); } } else if ((fddip->fddi_fc & FDDIFC_CLFF) == FDDIFC_SMT) fddi_smt_print(ndo, p, caplen); @@ -330,7 +330,7 @@ fddi_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen) fddi_hdr_print(ndo, fddip, length + FDDI_HDRLEN, ESRC(&ehdr), EDST(&ehdr)); if (!ndo->ndo_suppress_default_print) - ndo->ndo_default_print(ndo, p, caplen); + ND_DEFAULTPRINT(p, caplen); } } |