diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-06-01 15:56:06 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-06-01 16:20:56 +0200 |
commit | b4503d7c317c170842c487f852dc4dcd63eff084 (patch) | |
tree | 1599fd0a32b0eeee5497ae1db81207621a263936 /print-pim.c | |
parent | 1f37b9f52909fc0e5be25fa19aa43df43781b94e (diff) | |
download | tcpdump-b4503d7c317c170842c487f852dc4dcd63eff084.tar.gz |
Add more nd_print_trunc() calls
Update the output of some tests accordingly.
Moreover:
Add a ndo_protocol assignment in pimv2_print().
Diffstat (limited to 'print-pim.c')
-rw-r--r-- | print-pim.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/print-pim.c b/print-pim.c index b3e9f90a..a8e0be01 100644 --- a/print-pim.c +++ b/print-pim.c @@ -244,7 +244,7 @@ pimv1_join_prune_print(netdissect_options *ndo, } return; trunc: - ND_PRINT("[|pim]"); + nd_print_trunc(ndo); return; } @@ -333,7 +333,7 @@ pimv1_print(netdissect_options *ndo, return; trunc: - ND_PRINT("[|pim]"); + nd_print_trunc(ndo); return; } @@ -452,7 +452,7 @@ cisco_autorp_print(netdissect_options *ndo, return; trunc: - ND_PRINT("[|autorp]"); + nd_print_trunc(ndo); return; } @@ -495,7 +495,7 @@ pim_print(netdissect_options *ndo, return; trunc: - ND_PRINT("[|pim]"); + nd_print_trunc(ndo); return; } @@ -708,6 +708,7 @@ pimv2_print(netdissect_options *ndo, u_int pim_typever; u_int pimv2_addr_len; + ndo->ndo_protocol = "pimv2"; if (len < 2) goto trunc; ND_TCHECK_1(pim->pim_rsv); @@ -1198,5 +1199,5 @@ pimv2_print(netdissect_options *ndo, return; trunc: - ND_PRINT("[|pim]"); + nd_print_trunc(ndo); } |