diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-12-10 20:34:09 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-12-10 20:34:09 +0100 |
commit | 1b69d2a8a141e97ce2d081fa92941b0cbb26c116 (patch) | |
tree | 5c384823c6d20e5a436075ab501e624ddd5b1cd6 /print-stp.c | |
parent | c754d30dbd366699ae11ea53655bbef398b83c5c (diff) | |
download | tcpdump-1b69d2a8a141e97ce2d081fa92941b0cbb26c116.tar.gz |
Replace the (void)nd_printzp() calls by nd_printjnp() calls
Diffstat (limited to 'print-stp.c')
-rw-r--r-- | print-stp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-stp.c b/print-stp.c index b8973ace..ad4cdc20 100644 --- a/print-stp.c +++ b/print-stp.c @@ -276,7 +276,7 @@ stp_print_mstp_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, ND_PRINT("\n\tv3len %u, ", GET_BE_U_2(ptr + MST_BPDU_VER3_LEN_OFFSET)); ND_PRINT("MCID Name "); - (void)nd_printzp(ndo, ptr + MST_BPDU_CONFIG_NAME_OFFSET, 32, NULL); + nd_printjnp(ndo, ptr + MST_BPDU_CONFIG_NAME_OFFSET, 32); ND_PRINT(", rev %u," "\n\t\tdigest %08x%08x%08x%08x, ", GET_BE_U_2(ptr + MST_BPDU_CONFIG_NAME_OFFSET + 32), @@ -340,7 +340,7 @@ stp_print_spb_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, ND_PRINT("\n\tv4len %u, ", GET_BE_U_2(ptr + offset)); ND_PRINT("AUXMCID Name "); - (void)nd_printzp(ndo, ptr + offset + SPB_BPDU_CONFIG_NAME_OFFSET, 32, NULL); + nd_printjnp(ndo, ptr + offset + SPB_BPDU_CONFIG_NAME_OFFSET, 32); ND_PRINT(", Rev %u,\n\t\tdigest %08x%08x%08x%08x", GET_BE_U_2(ptr + offset + SPB_BPDU_CONFIG_REV_OFFSET), GET_BE_U_4(ptr + offset + SPB_BPDU_CONFIG_DIGEST_OFFSET), |