From a2c6283126a48c915561364e8456894bf7089b2c Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 23 Apr 2003 17:01:31 +0000 Subject: 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. --- ripngd/ripng_ifrmap.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ripngd/ripng_ifrmap.c') diff --git a/ripngd/ripng_ifrmap.c b/ripngd/ripng_ifrmap.c index 3375965f..d3586903 100644 --- a/ripngd/ripng_ifrmap.c +++ b/ripngd/ripng_ifrmap.c @@ -194,8 +194,8 @@ if_rmap_unset (char *ifname, enum if_rmap_type type, char *routemap_name) 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 @@ DEFUN (if_rmap, 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 @@ if_rmap_init (void) { 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); } -- cgit v1.2.1