]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-sl.c
refactored ip_print() so that chained header parser (ESP/AH) can
[tcpdump] / print-sl.c
index dbe423da90e50c126cca30bea279e1ce8bde983a..f00d3943d320a6d4613f8ad9265210fa4238eb6a 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-sl.c,v 1.64 2003-11-16 09:36:36 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-sl.c,v 1.65 2005-04-06 21:32:42 mcr Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -69,7 +69,7 @@ sl_if_print(const struct pcap_pkthdr *h, const u_char *p)
 
        switch (IP_V(ip)) {
        case 4:
-               ip_print((u_char *)ip, length);
+               ip_print(gndo, (u_char *)ip, length);
                break;
 #ifdef INET6
        case 6:
@@ -104,7 +104,7 @@ sl_bsdos_if_print(const struct pcap_pkthdr *h, const u_char *p)
                sliplink_print(p, ip, length);
 #endif
 
-       ip_print((u_char *)ip, length);
+       ip_print(gndo, (u_char *)ip, length);
 
        return (SLIP_HDRLEN);
 }