summaryrefslogtreecommitdiff
path: root/print-fddi.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-05-10 18:05:56 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-05-10 18:05:56 +0200
commit40ae3ad744d9f71079b410a810acbc33ef39f8ba (patch)
tree08a7248e1fbf30a52c35c98065df6facecb7ba8e /print-fddi.c
parent1889ef324cceaf8b667a9d4dade8260c395913c7 (diff)
downloadtcpdump-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-fddi.c')
-rw-r--r--print-fddi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-fddi.c b/print-fddi.c
index af8477ef..d73d92d6 100644
--- a/print-fddi.c
+++ b/print-fddi.c
@@ -284,7 +284,7 @@ fddi_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen)
ndo->ndo_protocol = "fddi";
if (caplen < FDDI_HDRLEN) {
- ND_PRINT("[|fddi]");
+ nd_print_trunc(ndo);
return (caplen);
}