diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-02-13 23:00:48 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-02-13 23:00:55 +0100 |
commit | c1b92ea1d4f508c72b1ffe8e08eb766ac39c7018 (patch) | |
tree | 205246f6f4b6ceb2880d221362482729b8523cc1 /print-eigrp.c | |
parent | 67f87a772e27158784e2770162ee0f48f1b21649 (diff) | |
download | tcpdump-c1b92ea1d4f508c72b1ffe8e08eb766ac39c7018.tar.gz |
Add and use tstr[]
Update the output of some tests accordingly.
Diffstat (limited to 'print-eigrp.c')
-rw-r--r-- | print-eigrp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/print-eigrp.c b/print-eigrp.c index 9e0a7669..022c9355 100644 --- a/print-eigrp.c +++ b/print-eigrp.c @@ -35,6 +35,8 @@ #include "extract.h" #include "addrtoname.h" +static const char tstr[] = " [|eigrp]"; + struct eigrp_common_header { nd_uint8_t version; nd_uint8_t opcode; @@ -521,5 +523,5 @@ eigrp_print(netdissect_options *ndo, const u_char *pptr, u_int len) } return; trunc: - ND_PRINT("\n\t\t packet exceeded snapshot"); + ND_PRINT("%s", tstr); } |