diff options
author | guy <guy> | 2004-03-17 23:24:35 +0000 |
---|---|---|
committer | guy <guy> | 2004-03-17 23:24:35 +0000 |
commit | fb1b6d808f19faae76526a2e3eed52a75fb22ff1 (patch) | |
tree | 3192bd543ac16a94394c05bd3dfe13edbeff007c /print-fddi.c | |
parent | 94592bf31ada495be5578b73ec51b2f68b6be122 (diff) | |
download | tcpdump-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-fddi.c')
-rw-r--r-- | print-fddi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-fddi.c b/print-fddi.c index 164b9abe..84aea552 100644 --- a/print-fddi.c +++ b/print-fddi.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.63 2003-11-16 09:36:21 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.64 2004-03-17 23:24:37 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -298,7 +298,7 @@ fddi_print(const u_char *p, u_int length, u_int caplen) /* * This is the top level routine of the printer. 'p' points * to the FDDI 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 |