summaryrefslogtreecommitdiff
path: root/print-null.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-null.c')
-rw-r--r--print-null.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-null.c b/print-null.c
index cdbb3734..064408a0 100644
--- a/print-null.c
+++ b/print-null.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.45 2002-12-18 08:53:22 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.46 2002-12-18 09:41:16 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -149,7 +149,7 @@ null_if_print(u_char *user _U_, const struct pcap_pkthdr *h, const u_char *p)
}
if (xflag)
- default_print((const u_char *)ip, caplen - NULL_HDRLEN);
+ default_print_packet(p, caplen, NULL_HDRLEN);
putchar('\n');
--infodelay;
if (infoprint)