summaryrefslogtreecommitdiff
path: root/print-calm-fast.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-calm-fast.c
parent8ab5c3a4e75a3ce8da691cd6ca6a9945082827af (diff)
downloadtcpdump-e2982e7f6f0b624a773ec5a58885ee80fab46d34.tar.gz
Update ND_PRINT() as a variadic macro
Diffstat (limited to 'print-calm-fast.c')
-rw-r--r--print-calm-fast.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/print-calm-fast.c b/print-calm-fast.c
index 6fa91a8f..7198f27f 100644
--- a/print-calm-fast.c
+++ b/print-calm-fast.c
@@ -51,19 +51,19 @@ calm_fast_print(netdissect_options *ndo, const u_char *bp, u_int length, const s
length -= 2;
bp += 2;
- ND_PRINT((ndo, "CALM FAST"));
+ ND_PRINT("CALM FAST");
if (src != NULL)
- ND_PRINT((ndo, " src:%s", (src->addr_string)(ndo, src->addr)));
- ND_PRINT((ndo, "; "));
- ND_PRINT((ndo, "SrcNwref:%d; ", srcNwref));
- ND_PRINT((ndo, "DstNwref:%d; ", dstNwref));
+ ND_PRINT(" src:%s", (src->addr_string)(ndo, src->addr));
+ ND_PRINT("; ");
+ ND_PRINT("SrcNwref:%d; ", srcNwref);
+ ND_PRINT("DstNwref:%d; ", dstNwref);
if (ndo->ndo_vflag)
ND_DEFAULTPRINT(bp, length);
return;
trunc:
- ND_PRINT((ndo, "[|calm fast]"));
+ ND_PRINT("[|calm fast]");
return;
}