summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_main.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-07-25 16:15:54 +0200
committerGitHub <noreply@github.com>2017-07-25 16:15:54 +0200
commit533450e4b94fc9f2c0737555a8caf16cf8fa00dd (patch)
treeb56d8144a755694d69ef7fb5938992af5e3dbee5 /eigrpd/eigrp_main.c
parentc8ac4457c02863fe838bf17658a09c2c606aac79 (diff)
parenta72730d34a8ca9ecd91b356c8e70914ccbccc8a7 (diff)
Merge pull request #837 from qlyoung/fix-eigrp-routemap-cli
eigrpd, vtysh: add dummy route-map cli
Diffstat (limited to 'eigrpd/eigrp_main.c')
-rw-r--r--eigrpd/eigrp_main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/eigrpd/eigrp_main.c b/eigrpd/eigrp_main.c
index bc8bbb4450..4c99821d3c 100644
--- a/eigrpd/eigrp_main.c
+++ b/eigrpd/eigrp_main.c
@@ -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);*/