/* \summary: Cisco VLAN Query Protocol (VQP) printer */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
#include "extract.h"
#include "addrtoname.h"
-#define VQP_VERSION 1
+#define VQP_VERSION 1
/*
* VQP common header
/* 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)