X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/59d37c7ec5a7ce949db07d50594cca68fa724443..570bb7d1f8f87be048e8299a4c38b82b092a9b7b:/print-vqp.c diff --git a/print-vqp.c b/print-vqp.c index 1b2f6bfe..bd7445a5 100644 --- a/print-vqp.c +++ b/print-vqp.c @@ -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)