summaryrefslogtreecommitdiff
path: root/print-openflow-1.3.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-12-11 10:20:58 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-12-11 10:50:25 +0100
commitfa7eedd1aa13cf963d5809bbc2f1e54bee118869 (patch)
tree3a2ecb20f1255a416a2018d491747ce1e8a6bf49 /print-openflow-1.3.c
parent2eb023747062b79164c8f34adbf893bec938dd9a (diff)
downloadtcpdump-fa7eedd1aa13cf963d5809bbc2f1e54bee118869.tar.gz
Replace '(void)nd_print()' calls by nd_printjnp() calls
'(void)nd_print(ndo, start, start + len)' are replaced by 'nd_printjnp(ndo, start, len)'
Diffstat (limited to 'print-openflow-1.3.c')
-rw-r--r--print-openflow-1.3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-openflow-1.3.c b/print-openflow-1.3.c
index 79de7d7b..9e76ba1b 100644
--- a/print-openflow-1.3.c
+++ b/print-openflow-1.3.c
@@ -661,7 +661,7 @@ of13_port_print(netdissect_options *ndo,
cp += 2;
/* name */
ND_PRINT(", name '");
- (void)nd_print(ndo, cp, cp + OFP_MAX_PORT_NAME_LEN);
+ nd_printjnp(ndo, cp, OFP_MAX_PORT_NAME_LEN);
ND_PRINT("'");
cp += OFP_MAX_PORT_NAME_LEN;