]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ether.c
NDOize 8 more small decoders
[tcpdump] / print-ether.c
index 22808d14e059bb5ae12a1a1b3ba98774d8e1077d..b2ca0d13ae4d99b980aa4f87887e29da537ae9ef 100644 (file)
@@ -27,7 +27,6 @@
 #include <tcpdump-stdinc.h>
 
 #include <stdio.h>
-#include <pcap.h>
 
 #include "interface.h"
 #include "extract.h"
@@ -354,7 +353,7 @@ ethertype_print(netdissect_options *ndo,
 
        case ETHERTYPE_IPX:
                ND_PRINT((ndo, "(NOV-ETHII) "));
-               ipx_print(/*ndo,*/p, length);
+               ipx_print(ndo, p, length);
                return (1);
 
         case ETHERTYPE_ISO:
@@ -365,7 +364,7 @@ ethertype_print(netdissect_options *ndo,
        case ETHERTYPE_PPPOES:
        case ETHERTYPE_PPPOED2:
        case ETHERTYPE_PPPOES2:
-               pppoe_print(/*ndo,*/p, length);
+               pppoe_print(ndo, p, length);
                return (1);
 
        case ETHERTYPE_EAPOL:
@@ -406,7 +405,7 @@ ethertype_print(netdissect_options *ndo,
 
        case ETHERTYPE_MPLS:
        case ETHERTYPE_MPLS_MULTI:
-               mpls_print(/*ndo,*/p, length);
+               mpls_print(ndo, p, length);
                return (1);
 
        case ETHERTYPE_TIPC: