From e2982e7f6f0b624a773ec5a58885ee80fab46d34 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Sun, 7 Jan 2018 11:47:30 +0100 Subject: Update ND_PRINT() as a variadic macro --- print-cip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print-cip.c') diff --git a/print-cip.c b/print-cip.c index a123b69f..678d4e99 100644 --- a/print-cip.c +++ b/print-cip.c @@ -47,7 +47,7 @@ cip_print(netdissect_options *ndo, u_int length) /* * There is no MAC-layer header, so just print the length. */ - ND_PRINT((ndo, "%u: ", length)); + ND_PRINT("%u: ", length); } /* @@ -74,7 +74,7 @@ cip_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char cip_print(ndo, length); if (cmplen == 0) { - ND_PRINT((ndo, "[|cip]")); + ND_PRINT("[|cip]"); return 0; } if (memcmp(rfcllc, p, cmplen) == 0) { -- cgit v1.2.1