#include "keychain.h"
#include "distribute.h"
#include "libfrr.h"
-//#include "routemap.h"
+#include "routemap.h"
//#include "if_rmap.h"
#include "eigrpd/eigrp_structs.h"
#include "eigrpd/eigrp_network.h"
#include "eigrpd/eigrp_snmp.h"
#include "eigrpd/eigrp_filter.h"
+#include "eigrpd/eigrp_errors.h"
//#include "eigrpd/eigrp_routemap.h"
/* eigprd privileges */
{
zlog_notice("Terminating on signal");
eigrp_terminate();
+
+ exit(0);
}
/* SIGUSR1 handler. */
},
};
+static const struct frr_yang_module_info *eigrpd_yang_modules[] = {
+ &frr_interface_info,
+};
+
FRR_DAEMON_INFO(eigrpd, EIGRP, .vty_port = EIGRP_VTY_PORT,
.proghelp = "Implementation of the EIGRP routing protocol.",
.signals = eigrp_signals,
.n_signals = array_size(eigrp_signals),
- .privs = &eigrpd_privs, )
+ .privs = &eigrpd_privs, .yang_modules = eigrpd_yang_modules,
+ .n_yang_modules = array_size(eigrpd_yang_modules), )
/* EIGRPd main routine. */
int main(int argc, char **argv, char **envp)
}
}
+ eigrp_sw_version_initialize();
+
/* EIGRP master init. */
eigrp_master_init();
eigrp_om->master = frr_init();
master = eigrp_om->master;
- vrf_init(NULL, NULL, NULL, NULL);
+ eigrp_error_init();
+ vrf_init(NULL, NULL, NULL, NULL, NULL);
/*EIGRPd init*/
eigrp_if_init();
prefix_list_add_hook(eigrp_distribute_update_all);
prefix_list_delete_hook(eigrp_distribute_update_all);
+ /*
+ * XXX: This is just to get the CLI installed to suppress VTYSH errors.
+ * Routemaps in EIGRP are not yet functional.
+ */
+ route_map_init();
/*eigrp_route_map_init();
route_map_add_hook (eigrp_rmap_update);
route_map_delete_hook (eigrp_rmap_update);*/