summaryrefslogtreecommitdiff
path: root/ripngd
diff options
context:
space:
mode:
authorpaul <paul>2003-04-23 17:01:31 +0000
committerpaul <paul>2003-04-23 17:01:31 +0000
commita2c6283126a48c915561364e8456894bf7089b2c (patch)
treeb031a490e05beb57f30aa69d2c60f0362efd0e5c /ripngd
parente54879f11a6c0b91d3ce33b9c90edeb0fb5103b9 (diff)
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.
Diffstat (limited to 'ripngd')
-rw-r--r--ripngd/ripng_ifrmap.c12
-rw-r--r--ripngd/ripngd.c12
2 files changed, 12 insertions, 12 deletions
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);
}
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index fcf8e3c3..d8c34e80 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -2178,8 +2178,8 @@ DEFUN (show_ipv6_protocols, show_ipv6_protocols_cmd,
}
/* Please be carefull to use this command. */
-DEFUN (default_information_originate,
- default_information_originate_cmd,
+DEFUN (ripng_default_information_originate,
+ ripng_default_information_originate_cmd,
"default-information originate",
"Default route information\n"
"Distribute default route\n")
@@ -2194,8 +2194,8 @@ DEFUN (default_information_originate,
return CMD_SUCCESS;
}
-DEFUN (no_default_information_originate,
- no_default_information_originate_cmd,
+DEFUN (no_ripng_default_information_originate,
+ no_ripng_default_information_originate_cmd,
"no default-information originate",
NO_STR
"Default route information\n"
@@ -2494,8 +2494,8 @@ ripng_init ()
install_element (RIPNG_NODE, &no_ripng_garbage_timer_cmd);
#endif /* 0 */
- install_element (RIPNG_NODE, &default_information_originate_cmd);
- install_element (RIPNG_NODE, &no_default_information_originate_cmd);
+ install_element (RIPNG_NODE, &ripng_default_information_originate_cmd);
+ install_element (RIPNG_NODE, &no_ripng_default_information_originate_cmd);
ripng_if_init ();
ripng_debug_init ();