]> git.proxmox.com Git - mirror_frr.git/blobdiff - eigrpd/eigrpd.c
Merge pull request #8471 from idryzhov/cleanup-num-named-lists
[mirror_frr.git] / eigrpd / eigrpd.c
index 820f015b5711e6889913840a5410680e1d3a321b..103015490783a2fd548e0e20485f59681888f467 100644 (file)
 #include "eigrpd/eigrp_packet.h"
 #include "eigrpd/eigrp_network.h"
 #include "eigrpd/eigrp_topology.h"
-#include "eigrpd/eigrp_memory.h"
 #include "eigrpd/eigrp_filter.h"
 
-DEFINE_QOBJ_TYPE(eigrp)
+DEFINE_MGROUP(EIGRPD, "eigrpd");
+
+DEFINE_MTYPE_STATIC(EIGRPD, EIGRP_TOP, "EIGRP structure");
+
+DEFINE_QOBJ_TYPE(eigrp);
 
 static struct eigrp_master eigrp_master;
 
@@ -110,10 +113,6 @@ void eigrp_router_id_update(struct eigrp *eigrp)
 
        eigrp->router_id = router_id;
        if (router_id_old.s_addr != router_id.s_addr) {
-               //      if (IS_DEBUG_EIGRP_EVENT)
-               //        zlog_debug("Router-ID[NEW:%s]: Update",
-               //        inet_ntoa(eigrp->router_id));
-
                /* update eigrp_interface's */
                FOR_ALL_INTERFACES (vrf, ifp)
                        eigrp_if_update(ifp);