From: Hasso Tepper
This one fixes "router xxx" node commands in vtysh. Don't get "unknown
command" error when entering "passive-interface eth0" command while
ospfd and ospf6d running etc.
diff --git a/ripngd/ripng_ifrmap.c b/ripngd/ripng_ifrmap.c
index 3375965..d358690 100644
--- a/ripngd/ripng_ifrmap.c
+++ b/ripngd/ripng_ifrmap.c
@@ -194,8 +194,8 @@
return 1;
}
-DEFUN (if_rmap,
- if_rmap_cmd,
+DEFUN (ripng_if_rmap,
+ ripng_if_rmap_cmd,
"route-map RMAP_NAME (in|out) IFNAME",
"Route map set\n"
"Route map name\n"
@@ -221,8 +221,8 @@
return CMD_SUCCESS;
}
-DEFUN (no_if_rmap,
- no_if_rmap_cmd,
+DEFUN (no_ripng_if_rmap,
+ no_ripng_if_rmap_cmd,
"no route-map ROUTEMAP_NAME (in|out) IFNAME",
NO_STR
"Route map unset\n"
@@ -300,6 +300,6 @@
{
ifrmaphash = hash_create (if_rmap_hash_make, if_rmap_hash_cmp);
- install_element (RIPNG_NODE, &if_rmap_cmd);
- install_element (RIPNG_NODE, &no_if_rmap_cmd);
+ install_element (RIPNG_NODE, &ripng_if_rmap_cmd);
+ install_element (RIPNG_NODE, &no_ripng_if_rmap_cmd);
}