]> 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 d06339ec374ad49d6f0ae592d745dd833f1112be..1ec298f82b545a1aeaf94307cd919f464c0244b1 100644 (file)
@@ -38,7 +38,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.20 2002-10-30 05:29:16 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 */
@@ -187,7 +187,7 @@ gre_print_0(const u_char *bp, u_int length)
                ip_print(bp, len);
                break;
        case GREPROTO_ISO:
-               isoclns_print(bp, len, len, NULL, NULL);
+               isoclns_print(bp, len, len);
                break;
        default:
                printf("gre-proto-0x%x", prot);