summaryrefslogtreecommitdiff
path: root/print-olsr.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2021-01-08 16:21:39 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2021-01-08 17:12:12 +0100
commit3ed92cd021a619c8dbff377edd8eb66b3ec285c9 (patch)
tree9c629ba7661d7ba2a545a23a509e1a0b8cdc4ee0 /print-olsr.c
parent90ddb17d272bbe39dccc08f7b109077b73996fee (diff)
downloadtcpdump-3ed92cd021a619c8dbff377edd8eb66b3ec285c9.tar.gz
Replace the (void)nd_printn(..., NULL) calls by nd_printjn() calls
Moreover: Remove a now useless comment.
Diffstat (limited to 'print-olsr.c')
-rw-r--r--print-olsr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-olsr.c b/print-olsr.c
index 991c8771..c3c90c42 100644
--- a/print-olsr.c
+++ b/print-olsr.c
@@ -678,7 +678,7 @@ olsr_print(netdissect_options *ndo,
else
ND_PRINT(", address %s, name \"",
GET_IPADDR_STRING(msg_data));
- (void)nd_printn(ndo, msg_data + addr_size, name_entry_len, NULL);
+ nd_printjn(ndo, msg_data + addr_size, name_entry_len);
ND_PRINT("\"");
msg_data += addr_size + name_entry_len + name_entry_padding;