diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-07 11:47:30 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-07 13:36:41 +0100 |
commit | e2982e7f6f0b624a773ec5a58885ee80fab46d34 (patch) | |
tree | 52c8e511ccaff8ef09dc3337b213273865522162 /print-cip.c | |
parent | 8ab5c3a4e75a3ce8da691cd6ca6a9945082827af (diff) | |
download | tcpdump-e2982e7f6f0b624a773ec5a58885ee80fab46d34.tar.gz |
Update ND_PRINT() as a variadic macro
Diffstat (limited to 'print-cip.c')
-rw-r--r-- | print-cip.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |