]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-gre.c
Remove the -a flag. It's nonsensical to apply the local netmask to all
[tcpdump] / print-gre.c
index e3d2a9ed0fe61b2019a16fc02cc650ae39689c6b..1ec298f82b545a1aeaf94307cd919f464c0244b1 100644 (file)
@@ -38,7 +38,7 @@
 
 #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)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.22 2003-05-22 16:52:37 hannes 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);
        }