]> git.proxmox.com Git - mirror_frr.git/blobdiff - eigrpd/eigrp_main.c
Merge pull request #837 from qlyoung/fix-eigrp-routemap-cli
[mirror_frr.git] / eigrpd / eigrp_main.c
index bc8bbb445042ffa67ff60cda241a100d43a2447d..4c99821d3c4b98ab8a5aca3e2c7820218621c785 100644 (file)
@@ -50,7 +50,7 @@
 #include "keychain.h"
 #include "distribute.h"
 #include "libfrr.h"
-//#include "routemap.h"
+#include "routemap.h"
 //#include "if_rmap.h"
 
 #include "eigrpd/eigrp_structs.h"
@@ -192,6 +192,11 @@ int main(int argc, char **argv, char **envp)
        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);*/