]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-gre.c
provide multiline output for PIM Joins/Grafts/Graft-Acks
[tcpdump] / print-gre.c
index e3d2a9ed0fe61b2019a16fc02cc650ae39689c6b..4a03dd39b12e27e109de4ff5c1ee66fbbbd9afe3 100644 (file)
@@ -37,8 +37,8 @@
  */
 
 #ifndef lint
-static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.19 2002-10-30 05:11:42 itojun Exp $ (LBL)";
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.24 2003-11-16 09:36:21 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -67,7 +67,7 @@ static const char rcsid[] =
 
 #define        GREPROTO_IP     0x0800          /* IP */
 #define        GREPROTO_PPP    0x880b          /* PPTP */
-#define        GREPROTO_ISO    0xfefe          /* OSI */
+#define        GREPROTO_ISO    0x00fe          /* OSI */
 
 /* source route entry types */
 #define        GRESRE_IP       0x0800          /* IP */
@@ -186,9 +186,9 @@ gre_print_0(const u_char *bp, u_int length)
        case GREPROTO_IP:
                ip_print(bp, len);
                break;
-        case GREPROTO_ISO:
-                isoclns_print(bp, len, len, NULL, NULL);
-                break;
+       case GREPROTO_ISO:
+               isoclns_print(bp, len, len);
+               break;
        default:
                printf("gre-proto-0x%x", prot);
        }