]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip-demux.c
PIM: Fix some length checks
[tcpdump] / print-ip-demux.c
index 2dae30d25f7200c562e55d82b1ec1418feaa71af..f18055d6a13fd5706d2d7836f48d00fa4d117203 100644 (file)
@@ -39,8 +39,8 @@
 void
 ip_print_demux(netdissect_options *ndo,
               const u_char *bp,
-              u_int length, u_int ver, int fragmented, u_int ttl_hl, u_int nh,
-              const u_char *iph)
+              u_int length, u_int ver, int fragmented, u_int ttl_hl,
+              uint8_t nh, const u_char *iph)
 {
        int advance;
        const char *p_name;
@@ -155,8 +155,6 @@ again:
        case IPPROTO_IPV4:
                /* ipv4-in-ip encapsulation */
                ip_print(ndo, bp, length);
-               if (! ndo->ndo_vflag)
-                       ND_PRINT(" (ipip-proto-4)");
                break;
 
        case IPPROTO_IPV6: