X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/d29f3dab95d8b28a62848fcb043b8ba40348bc3d..f78c60f54a9beb04f1409712ec95b46f2d52a0ab:/print-mpls.c diff --git a/print-mpls.c b/print-mpls.c index cd323ce2..bf232ae3 100644 --- a/print-mpls.c +++ b/print-mpls.c @@ -26,6 +26,7 @@ * SUCH DAMAGE. */ +#define NETDISSECT_REWORKED #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -174,7 +175,7 @@ mpls_print(netdissect_options *ndo, const u_char *bp, u_int length) */ if (pt == PT_UNKNOWN) { if (!ndo->ndo_suppress_default_print) - ndo->ndo_default_print(ndo, p, length - (p - bp)); + ND_DEFAULTPRINT(p, length - (p - bp)); return; } ND_PRINT((ndo, ndo->ndo_vflag ? "\n\t" : " ")); @@ -193,7 +194,7 @@ mpls_print(netdissect_options *ndo, const u_char *bp, u_int length) break; case PT_OSI: - isoclns_print(p, length - (p - bp), length - (p - bp)); + isoclns_print(ndo, p, length - (p - bp), length - (p - bp)); break; default: