]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vqp.c
Finish the pruning of unsupported OSes.
[tcpdump] / print-vqp.c
index 1b2f6bfe022bc3e05da944702b00be7c46cad46e..bd7445a58e7409bd5f098625eec89dde8b276f2d 100644 (file)
@@ -195,9 +195,9 @@ vqp_print(netdissect_options *ndo, const u_char *pptr, u_int len)
             /* those objects have similar semantics - fall through */
        case VQP_OBJ_MAC_ADDRESS:
        case VQP_OBJ_MAC_NULL:
-            if (vqp_obj_len != MAC_ADDR_LEN)
+            if (vqp_obj_len != MAC48_LEN)
                 goto invalid;
-             ND_PRINT("%s", GET_ETHERADDR_STRING(tptr));
+             ND_PRINT("%s", GET_MAC48_STRING(tptr));
               break;
         default:
             if (ndo->ndo_vflag <= 1)