X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/c2a9094394193f1de9c968a1fc490e5a1f2a9a3d..a24cccfd4abcda51db9f73f46d425c7c1e357a87:/print-eigrp.c diff --git a/print-eigrp.c b/print-eigrp.c index 9e0a7669..d206237d 100644 --- a/print-eigrp.c +++ b/print-eigrp.c @@ -35,6 +35,7 @@ #include "extract.h" #include "addrtoname.h" + struct eigrp_common_header { nd_uint8_t version; nd_uint8_t opcode; @@ -226,6 +227,7 @@ eigrp_print(netdissect_options *ndo, const u_char *pptr, u_int len) const struct eigrp_tlv_at_ext_t *eigrp_tlv_at_ext; } tlv_ptr; + ndo->ndo_protocol = "eigrp"; tptr=pptr; eigrp_com_header = (const struct eigrp_common_header *)pptr; ND_TCHECK_SIZE(eigrp_com_header); @@ -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_trunc(ndo); }