]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rip.c
gre: add support for MikroTik Ethernet-over-IP hack.
[tcpdump] / print-rip.c
index 9e81bb53593199a17e1e5a30659f0ea7e57439c0..57e7e481121e051af0ac09b38aa228d4a8d9b1da 100644 (file)
@@ -385,7 +385,7 @@ rip_print(netdissect_options *ndo,
                break;
        }
        /* do we want to see an additionally hexdump ? */
-       if (ndo->ndo_vflag> 1) {
+       if (ndo->ndo_vflag > 1 && ND_TTEST_LEN(p, len)) {
                if (!print_unknown_data(ndo, p, "\n\t", len))
                        return;
        }