From a5dc11f9cc4e36dca9aa4f053c8fda4c45fee427 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Sat, 15 Apr 2023 11:05:35 +0200 Subject: Babel,DHCPv6: Use nd_print_protocol() --- print-babel.c | 2 +- print-dhcp6.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- cgit v1.2.1