From fa7eedd1aa13cf963d5809bbc2f1e54bee118869 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Fri, 11 Dec 2020 10:20:58 +0100 Subject: Replace '(void)nd_print()' calls by nd_printjnp() calls '(void)nd_print(ndo, start, start + len)' are replaced by 'nd_printjnp(ndo, start, len)' --- print-hsrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-hsrp.c') diff --git a/print-hsrp.c b/print-hsrp.c index 0bcca919..30278268 100644 --- a/print-hsrp.c +++ b/print-hsrp.c @@ -127,7 +127,7 @@ hsrp_print(netdissect_options *ndo, const u_char *bp, u_int len) * Authentication Data explicitly, but zero padding can be * inferred from the "recommended default value". */ - (void)nd_print(ndo, hp->hsrp_authdata, hp->hsrp_authdata + HSRP_AUTH_SIZE); + nd_printjnp(ndo, hp->hsrp_authdata, HSRP_AUTH_SIZE); ND_PRINT("\""); } } -- cgit v1.2.1