]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-atm.c
Makefile.in: 'distclean' target: add files and directories to remove
[tcpdump] / print-atm.c
index 611f27cdebbb966dc09c654924db7e2112fe16b9..4fd1ca71a952e391bd05641716f481b34bc746a9 100644 (file)
@@ -26,7 +26,6 @@
 #include <tcpdump-stdinc.h>
 
 #include <stdio.h>
-#include <pcap.h>
 #include <string.h>
 
 #include "interface.h"
@@ -137,7 +136,7 @@ atm_llc_print(const u_char *p, int length, int caplen)
 {
        u_short extracted_ethertype;
 
-       if (!llc_print(p, length, caplen, NULL, NULL,
+       if (!llc_print(gndo, p, length, caplen, NULL, NULL,
            &extracted_ethertype)) {
                /* ether_type not known, print raw packet */
                if (extracted_ethertype) {
@@ -330,7 +329,7 @@ atm_print(u_int vpi, u_int vci, u_int traftype, const u_char *p, u_int length,
                break;
 
        case ATM_LANE:
-               lane_print(p, length, caplen);
+               lane_print(gndo, p, length, caplen);
                break;
        }
 }