summaryrefslogtreecommitdiff
path: root/print-null.c
diff options
context:
space:
mode:
authormcr <mcr>2005-04-06 21:32:38 +0000
committermcr <mcr>2005-04-06 21:32:38 +0000
commit4189fb7df651e5742b15488d2f59dae5f526e82b (patch)
tree833c12cee17285e7709688606850e5a5c1108be2 /print-null.c
parent82b1d075858faa41c5749108489c7c1ffaf8f185 (diff)
downloadtcpdump-4189fb7df651e5742b15488d2f59dae5f526e82b.tar.gz
refactored ip_print() so that chained header parser (ESP/AH) can
more easily call the inner parts.
Diffstat (limited to 'print-null.c')
-rw-r--r--print-null.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/print-null.c b/print-null.c
index cfb431e5..bfdf3e41 100644
--- a/print-null.c
+++ b/print-null.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.52 2004-03-17 23:24:38 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.53 2005-04-06 21:32:41 mcr Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -163,7 +163,7 @@ null_if_print(const struct pcap_pkthdr *h, const u_char *p)
switch (family) {
case BSD_AF_INET:
- ip_print(p, length);
+ ip_print(gndo, p, length);
break;
#ifdef INET6
@@ -197,3 +197,9 @@ null_if_print(const struct pcap_pkthdr *h, const u_char *p)
return (NULL_HDRLEN);
}
+/*
+ * Local Variables:
+ * c-style: whitesmith
+ * c-basic-offset: 8
+ * End:
+ */