summaryrefslogtreecommitdiff
path: root/print-msnlb.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-07 11:47:30 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-07 13:36:41 +0100
commite2982e7f6f0b624a773ec5a58885ee80fab46d34 (patch)
tree52c8e511ccaff8ef09dc3337b213273865522162 /print-msnlb.c
parent8ab5c3a4e75a3ce8da691cd6ca6a9945082827af (diff)
downloadtcpdump-e2982e7f6f0b624a773ec5a58885ee80fab46d34.tar.gz
Update ND_PRINT() as a variadic macro
Diffstat (limited to 'print-msnlb.c')
-rw-r--r--print-msnlb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/print-msnlb.c b/print-msnlb.c
index f1359d5b..02e047f3 100644
--- a/print-msnlb.c
+++ b/print-msnlb.c
@@ -55,11 +55,11 @@ msnlb_print(netdissect_options *ndo, const u_char *bp)
hb = (const struct msnlb_heartbeat_pkt *)bp;
ND_TCHECK_SIZE(hb);
- ND_PRINT((ndo, "MS NLB heartbeat, host priority: %u,",
- EXTRACT_LE_U_4((hb->host_prio))));
- ND_PRINT((ndo, " cluster IP: %s,", ipaddr_string(ndo, &(hb->virtual_ip))));
- ND_PRINT((ndo, " host IP: %s", ipaddr_string(ndo, &(hb->host_ip))));
+ ND_PRINT("MS NLB heartbeat, host priority: %u,",
+ EXTRACT_LE_U_4((hb->host_prio)));
+ ND_PRINT(" cluster IP: %s,", ipaddr_string(ndo, &(hb->virtual_ip)));
+ ND_PRINT(" host IP: %s", ipaddr_string(ndo, &(hb->host_ip)));
return;
trunc:
- ND_PRINT((ndo, "[|MS NLB]"));
+ ND_PRINT("[|MS NLB]");
}