summaryrefslogtreecommitdiff
path: root/print-null.c
diff options
context:
space:
mode:
authorguy <guy>2004-03-17 23:24:35 +0000
committerguy <guy>2004-03-17 23:24:35 +0000
commitfb1b6d808f19faae76526a2e3eed52a75fb22ff1 (patch)
tree3192bd543ac16a94394c05bd3dfe13edbeff007c /print-null.c
parent94592bf31ada495be5578b73ec51b2f68b6be122 (diff)
downloadtcpdump-fb1b6d808f19faae76526a2e3eed52a75fb22ff1.tar.gz
Fix up a bunch of comments - the on-the-wire length field in a
pcap_pkthdr is "len", not "length".
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 e8af2196..cfb431e5 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.51 2003-11-16 09:36:30 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.52 2004-03-17 23:24:38 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -125,7 +125,7 @@ null_print(u_int family, u_int length)
/*
* This is the top level routine of the printer. 'p' points
* to the ether header of the packet, 'h->ts' is the timestamp,
- * 'h->length' is the length of the packet off the wire, and 'h->caplen'
+ * 'h->len' is the length of the packet off the wire, and 'h->caplen'
* is the number of bytes actually captured.
*/
u_int