diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-04-15 11:05:35 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-05-12 07:40:16 +0200 |
commit | a5dc11f9cc4e36dca9aa4f053c8fda4c45fee427 (patch) | |
tree | 7f4bdf4a5073e1b8349cc63f4ba021541cb14f59 | |
parent | 12304998e07c7206f3d089182cb736f29499f531 (diff) | |
download | tcpdump-a5dc11f9cc4e36dca9aa4f053c8fda4c45fee427.tar.gz |
Babel,DHCPv6: Use nd_print_protocol()
-rw-r--r-- | print-babel.c | 2 | ||||
-rw-r--r-- | 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) |