]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-juniper.c
differentiate between SLARP_LEN and SLARP_MIN_LEN - otherwise we do print the trailin...
[tcpdump] / print-juniper.c
index b3e85e8e59b7fb2707a933b85fac79e0641fa4c2..1f9cd12130c7c2736b4263af9a2f1d305a79b855 100644 (file)
@@ -15,7 +15,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-juniper.c,v 1.9 2005-04-20 12:41:45 hannes Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-juniper.c,v 1.11 2005-04-25 18:53:27 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -56,13 +56,13 @@ enum {
 
 enum {
     DEFAULT,
-    LS_COOKIE,
+    LS_COOKIE
 };
 
 struct juniper_cookie_table_t {
     u_int32_t pictype;         /* pic type */
     u_int8_t  cookie_len;       /* cookie len */
-    const u_int8_t *s;         /* pic name */
+    const char *s;             /* pic name */
 };
 
 static struct juniper_cookie_table_t juniper_cookie_table[] = {