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-sunatm.c | |
parent | 8ab5c3a4e75a3ce8da691cd6ca6a9945082827af (diff) | |
download | tcpdump-e2982e7f6f0b624a773ec5a58885ee80fab46d34.tar.gz |
Update ND_PRINT() as a variadic macro
Diffstat (limited to 'print-sunatm.c')
-rw-r--r-- | print-sunatm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-sunatm.c b/print-sunatm.c index 4692c270..65578366 100644 --- a/print-sunatm.c +++ b/print-sunatm.c @@ -73,12 +73,12 @@ sunatm_if_print(netdissect_options *ndo, u_int traftype; if (caplen < PKT_BEGIN_POS) { - ND_PRINT((ndo, "[|atm]")); + ND_PRINT("[|atm]"); return (caplen); } if (ndo->ndo_eflag) { - ND_PRINT((ndo, EXTRACT_U_1(p + DIR_POS) & 0x80 ? "Tx: " : "Rx: ")); + ND_PRINT(EXTRACT_U_1(p + DIR_POS) & 0x80 ? "Tx: " : "Rx: "); } switch (EXTRACT_U_1(p + DIR_POS) & 0x0f) { |