X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/77ece6d435c77c3bf1ff221e295408ca268444df..f34af1aa63da301ae7ee91e2300dff31702001f0:/print-eigrp.c?ds=inline 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); }