diff options
author | paul <paul> | 2003-04-23 17:01:31 +0000 |
---|---|---|
committer | paul <paul> | 2003-04-23 17:01:31 +0000 |
commit | a2c6283126a48c915561364e8456894bf7089b2c (patch) | |
tree | b031a490e05beb57f30aa69d2c60f0362efd0e5c /ripngd/ripng_ifrmap.c | |
parent | e54879f11a6c0b91d3ce33b9c90edeb0fb5103b9 (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/ripng_ifrmap.c')
-rw-r--r-- | ripngd/ripng_ifrmap.c | 12 |
1 files changed, 6 insertions, 6 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); } |