diff options
-rw-r--r-- | print-ahcp.c | 2 | ||||
-rw-r--r-- | print-dccp.c | 2 | ||||
-rw-r--r-- | print-mpls.c | 2 | ||||
-rw-r--r-- | print-tftp.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/print-ahcp.c b/print-ahcp.c index 98150a6f..7a784bc2 100644 --- a/print-ahcp.c +++ b/print-ahcp.c @@ -352,7 +352,7 @@ ahcp_print(netdissect_options *ndo, const u_char *cp, const u_int len) uint8_t version; ndo->ndo_protocol = "ahcp"; - ND_PRINT("AHCP"); + nd_print_protocol_caps(ndo); if (len < 2) goto invalid; /* Magic */ diff --git a/print-dccp.c b/print-dccp.c index ae25c00d..b28db0ae 100644 --- a/print-dccp.c +++ b/print-dccp.c @@ -327,7 +327,7 @@ dccp_print(netdissect_options *ndo, const u_char *bp, const u_char *data2, ipaddr_string(ndo, ip->ip_dst), dport); } - ND_PRINT("DCCP"); + nd_print_protocol_caps(ndo); if (ndo->ndo_qflag) { ND_PRINT(" %u", len - hlen); diff --git a/print-mpls.c b/print-mpls.c index bdc66c64..62b79957 100644 --- a/print-mpls.c +++ b/print-mpls.c @@ -66,7 +66,7 @@ mpls_print(netdissect_options *ndo, const u_char *bp, u_int length) 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)) diff --git a/print-tftp.c b/print-tftp.c index de9d4ebb..b6f9107e 100644 --- a/print-tftp.c +++ b/print-tftp.c @@ -97,7 +97,7 @@ tftp_print(netdissect_options *ndo, ndo->ndo_protocol = "tftp"; /* Print protocol */ - ND_PRINT("TFTP"); + nd_print_protocol_caps(ndo); /* Print length */ ND_PRINT(", length %u", length); |