]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-cip.c
clean up the LCP Auth option printer, remove printf() chains and make use of tok2str...
[tcpdump] / print-cip.c
index f889acf2f8a16d10d9e8faeefcb347677080c050..d7dd85af52ef4c4c5fed7bd6e23c95b4bf7c15c6 100644 (file)
  *
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.24 2004-03-17 23:24:36 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ethertype.h"
 #include "ether.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.22 2003-11-15 00:39:18 guy Exp $ (LBL)";
-#endif
 #define RFC1483LLC_LEN 8
 
 static unsigned char rfcllc[] = {
@@ -63,7 +63,7 @@ cip_print(int length)
 /*
  * This is the top level routine of the printer.  'p' points
  * to the LLC/SNAP or raw 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