};
void
-vtp_print (netdissect_options *ndo,
- const u_char *pptr, u_int length)
+vtp_print(netdissect_options *ndo,
+ const u_char *pptr, u_int length)
{
u_int type, len, name_len, tlv_len, tlv_value, mgmtd_len;
const u_char *tptr;
ND_PRINT(" [invalid MgmtD Len %u]", mgmtd_len);
return;
}
- fn_printzp(ndo, tptr + 4, mgmtd_len, NULL);
+ nd_printzp(ndo, tptr + 4, mgmtd_len, NULL);
ND_PRINT(", %s: %u",
tok2str(vtp_header_values, "Unknown", type),
EXTRACT_U_1(tptr + 2));
if (len < 4*((name_len + 3)/4))
goto trunc;
ND_TCHECK_LEN(tptr, name_len);
- fn_printzp(ndo, tptr, name_len, NULL);
+ nd_printzp(ndo, tptr, name_len, NULL);
/*
* Vlan names are aligned to 32-bit boundaries.
return;
trunc:
- ND_PRINT("[|vtp]");
+ nd_print_trunc(ndo);
}