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-atm.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-atm.c')
-rw-r--r-- | print-atm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-atm.c b/print-atm.c index aecc58b6..413b1887 100644 --- a/print-atm.c +++ b/print-atm.c @@ -20,7 +20,7 @@ */ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.35 2003-11-16 09:36:13 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.36 2004-03-17 23:24:36 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -72,7 +72,7 @@ atm_llc_print(const u_char *p, int length, int caplen) /* * This is the top level routine of the printer. 'p' points * to the LLC/SNAP 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 |