uint8_t version;
ndo->ndo_protocol = "ahcp";
- ND_PRINT("AHCP");
+ nd_print_protocol_caps(ndo);
if (len < 2)
goto invalid;
/* Magic */
ipaddr_string(ndo, ip->ip_dst), dport);
}
- ND_PRINT("DCCP");
+ nd_print_protocol_caps(ndo);
if (ndo->ndo_qflag) {
ND_PRINT(" %u", len - hlen);
ndo->ndo_protocol = "mpls";
p = bp;
- ND_PRINT("MPLS");
+ nd_print_protocol_caps(ndo);
do {
ND_TCHECK_LEN(p, sizeof(label_entry));
if (length < sizeof(label_entry))
ndo->ndo_protocol = "tftp";
/* Print protocol */
- ND_PRINT("TFTP");
+ nd_print_protocol_caps(ndo);
/* Print length */
ND_PRINT(", length %u", length);