From 40ae3ad744d9f71079b410a810acbc33ef39f8ba Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Thu, 10 May 2018 18:05:56 +0200 Subject: Add more nd_print_trunc() calls Update the output of some tests accordingly. Moreover: Add a ndo_protocol field assignment. --- print-sunatm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-sunatm.c') diff --git a/print-sunatm.c b/print-sunatm.c index f0857c2a..e1686d83 100644 --- a/print-sunatm.c +++ b/print-sunatm.c @@ -71,7 +71,7 @@ sunatm_if_print(netdissect_options *ndo, ndo->ndo_protocol = "sunatm_if"; if (caplen < PKT_BEGIN_POS) { - ND_PRINT("[|atm]"); + nd_print_trunc(ndo); return (caplen); } -- cgit v1.2.1