diff options
author | mcr <mcr> | 2005-04-06 21:32:38 +0000 |
---|---|---|
committer | mcr <mcr> | 2005-04-06 21:32:38 +0000 |
commit | 4189fb7df651e5742b15488d2f59dae5f526e82b (patch) | |
tree | 833c12cee17285e7709688606850e5a5c1108be2 /print-sl.c | |
parent | 82b1d075858faa41c5749108489c7c1ffaf8f185 (diff) | |
download | tcpdump-4189fb7df651e5742b15488d2f59dae5f526e82b.tar.gz |
refactored ip_print() so that chained header parser (ESP/AH) can
more easily call the inner parts.
Diffstat (limited to 'print-sl.c')
-rw-r--r-- | print-sl.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |