]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-null.c
NDOize OSPFv3 decoder
[tcpdump] / print-null.c
index 16330b9431dd82e0f7b173b4cffbc2da3770b69c..f0ad66177232e7f94a6421a8ef1a0c7125928f46 100644 (file)
@@ -19,6 +19,7 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -133,7 +134,7 @@ null_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char
                if (!ndo->ndo_eflag)
                        null_hdr_print(ndo, family, length + NULL_HDRLEN);
                if (!ndo->ndo_suppress_default_print)
-                       ndo->ndo_default_print(ndo, p, caplen);
+                       ND_DEFAULTPRINT(p, caplen);
        }
 
        return (NULL_HDRLEN);