]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-cip.c
NDOize OpenFlow, IEEE slow and telnet decoders
[tcpdump] / print-cip.c
index 8ac2f04ef40784cba8a222b2bcad16c45b3949d0..f8b48ec2a92a206eef9f1419e42ce4c1c56ddbdf 100644 (file)
@@ -20,6 +20,7 @@
  *
  */
 
+#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -75,7 +76,7 @@ cip_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char
                /*
                 * LLC header is present.  Try to print it & higher layers.
                 */
-               if (llc_print(p, length, caplen, NULL, NULL,
+               if (llc_print(ndo, p, length, caplen, NULL, NULL,
                    &extracted_ethertype) == 0) {
                        /* ether_type not known, print raw packet */
                        if (!ndo->ndo_eflag)