diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-05-10 18:05:56 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-05-10 18:05:56 +0200 |
commit | 40ae3ad744d9f71079b410a810acbc33ef39f8ba (patch) | |
tree | 08a7248e1fbf30a52c35c98065df6facecb7ba8e /print-enc.c | |
parent | 1889ef324cceaf8b667a9d4dade8260c395913c7 (diff) | |
download | tcpdump-40ae3ad744d9f71079b410a810acbc33ef39f8ba.tar.gz |
Add more nd_print_trunc() calls
Update the output of some tests accordingly.
Moreover:
Add a ndo_protocol field assignment.
Diffstat (limited to 'print-enc.c')
-rw-r--r-- | print-enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-enc.c b/print-enc.c index 36c35351..630f6b31 100644 --- a/print-enc.c +++ b/print-enc.c @@ -105,7 +105,7 @@ enc_if_print(netdissect_options *ndo, ndo->ndo_protocol = "enc_if"; if (caplen < ENC_HDRLEN) { - ND_PRINT("[|enc]"); + nd_print_trunc(ndo); goto out; } |