summaryrefslogtreecommitdiffstats
path: root/ripd/rip_routemap.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-10-19 16:55:01 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-19 16:55:59 +0200
commitb2575bc05b53977dbf6006d3cbde5a1b98221bdc (patch)
treeddebdb028d3bf256f1f63211c0a82e7e54b9ed1e /ripd/rip_routemap.c
parentvtysh: refactor vtysh_client_{config,execute} (diff)
downloadfrr-b2575bc05b53977dbf6006d3cbde5a1b98221bdc.tar.xz
frr-b2575bc05b53977dbf6006d3cbde5a1b98221bdc.zip
*: Consolidate routemap initialization
Consolidate the routemap initialization into one function. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_routemap.c')
-rw-r--r--ripd/rip_routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_routemap.c b/ripd/rip_routemap.c
index 666ccf084..8b48adfd5 100644
--- a/ripd/rip_routemap.c
+++ b/ripd/rip_routemap.c
@@ -1070,7 +1070,7 @@ void
rip_route_map_init ()
{
route_map_init ();
- route_map_init_vty ();
+
route_map_add_hook (rip_route_map_update);
route_map_delete_hook (rip_route_map_update);