diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-03-26 12:17:45 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-03-26 12:23:09 +0100 |
commit | 8d35d758923b0f0cab625255995c682e7b1d2fd2 (patch) | |
tree | 662b500e8894ba641518303cac23d25601c8bee4 /print-zep.c | |
parent | ad92d9ae65dd4ff385abd7a68d467d61a6dd417f (diff) | |
download | tcpdump-8d35d758923b0f0cab625255995c682e7b1d2fd2.tar.gz |
ZEP: Use nd_print_protocol() and nd_print_trunc() calls
Moreover:
Add a 'summary' comment with the protocol name.
Diffstat (limited to 'print-zep.c')
-rw-r--r-- | print-zep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/print-zep.c b/print-zep.c index deb99c60..afb6fd7d 100644 --- a/print-zep.c +++ b/print-zep.c @@ -19,6 +19,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +/* \summary: ZigBee Encapsulation Protocol (ZEP) printer */ #ifdef HAVE_CONFIG_H #include <config.h> @@ -106,7 +107,7 @@ zep_print(netdissect_options *ndo, ndo->ndo_protocol ="ZEP"; - ND_PRINT("ZEP"); + nd_print_protocol(ndo); ND_TCHECK_LEN(bp, 8); @@ -175,5 +176,5 @@ zep_print(netdissect_options *ndo, return; trunc: - ND_PRINT(" [|ZEP]"); + nd_print_trunc(ndo); } |