]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-aoe.c
gre: add support for MikroTik Ethernet-over-IP hack.
[tcpdump] / print-aoe.c
index c4f3758f3dcbdec84e0f684ff5a25674df7cc05d..9704fd87ed56823f0b5709312741db0aed63e60b 100644 (file)
@@ -235,7 +235,7 @@ aoev1_query_print(netdissect_options *ndo,
        /* Config String */
        if (cslen) {
                ND_PRINT("\n\tConfig String (length %u): ", cslen);
-               (void)nd_printn(ndo, cp, cslen, NULL);
+               nd_printjn(ndo, cp, cslen);
        }
        return;
 
@@ -270,7 +270,7 @@ aoev1_mac_print(netdissect_options *ndo,
        cp += 1;
        len -= 1;
        ND_PRINT(", Dir Count: %u", dircount);
-       if (dircount * 8 > len)
+       if (dircount * 8U > len)
                goto invalid;
        /* directives */
        for (i = 0; i < dircount; i++) {