switch (type) {
case DTP_DOMAIN_TLV:
ND_PRINT(", ");
- nd_printzp(ndo, tptr+4, len-4, NULL);
+ nd_printjnp(ndo, tptr+4, len-4);
break;
case DTP_STATUS_TLV:
ND_PRINT("'");
goto invalid;
}
- nd_printzp(ndo, ipx, 48, NULL);
+ nd_printjnp(ndo, ipx, 48);
ND_PRINT("'");
ipx += 48;
length -= 48;
case UDLD_PORT_ID_TLV:
case UDLD_DEVICE_NAME_TLV:
ND_PRINT(", ");
- nd_printzp(ndo, tptr, len, NULL);
+ nd_printjnp(ndo, tptr, len);
break;
case UDLD_ECHO_TLV:
ND_PRINT(" [invalid MgmtD Len %u]", mgmtd_len);
goto invalid;
}
- nd_printzp(ndo, tptr + 4, mgmtd_len, NULL);
+ nd_printjnp(ndo, tptr + 4, mgmtd_len);
ND_PRINT(", %s: %u",
tok2str(vtp_header_values, "Unknown", type),
GET_U_1(tptr + 2));
name_len = GET_U_1(vtp_vlan->name_len);
if (len < 4*((name_len + 3)/4))
goto invalid;
- nd_printzp(ndo, tptr, name_len, NULL);
+ nd_printjnp(ndo, tptr, name_len);
/*
* Vlan names are aligned to 32-bit boundaries.