]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-eigrp.c
IPX: Add a length check
[tcpdump] / print-eigrp.c
index 9e0a76696afb439a667e1611f83ba23becbfc406..d206237dd22f1306290a6742719f455c5a5c4426 100644 (file)
@@ -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);
 }