From: Francois-Xavier Le Bail Date: Sat, 15 Apr 2023 09:05:35 +0000 (+0200) Subject: Babel,DHCPv6: Use nd_print_protocol() X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/a5dc11f9cc4e36dca9aa4f053c8fda4c45fee427 Babel,DHCPv6: Use nd_print_protocol() --- diff --git a/print-babel.c b/print-babel.c index d802a720..fc1ed87e 100644 --- a/print-babel.c +++ b/print-babel.c @@ -57,7 +57,7 @@ babel_print(netdissect_options *ndo, const u_char *cp, u_int length) { ndo->ndo_protocol = "babel"; - ND_PRINT("babel"); + nd_print_protocol(ndo); ND_TCHECK_4(cp); diff --git a/print-dhcp6.c b/print-dhcp6.c index 7e7d1246..a96ba60b 100644 --- a/print-dhcp6.c +++ b/print-dhcp6.c @@ -851,7 +851,7 @@ dhcp6_print(netdissect_options *ndo, const char *name; ndo->ndo_protocol = "dhcp6"; - ND_PRINT("dhcp6"); + nd_print_protocol(ndo); ep = ndo->ndo_snapend; if (cp + length < ep)