OSPFv3 should accept long form of "no redistribute"

This commit is contained in:
Donald Sharp 2015-05-19 18:03:41 -07:00
parent b52a8a52c1
commit a231c1d588

View File

@ -701,6 +701,15 @@ DEFUN (no_ospf6_redistribute,
return CMD_SUCCESS;
}
ALIAS (no_ospf6_redistribute,
no_ospf6_redistribute_route_map_cmd,
"no redistribute " QUAGGA_REDIST_STR_OSPF6D " route-map WORD",
NO_STR
"Redistribute\n"
QUAGGA_REDIST_HELP_STR_OSPF6D
"Route map reference\n"
"Route map name\n")
int
ospf6_redistribute_config_write (struct vty *vty)
{
@ -1345,6 +1354,7 @@ ospf6_asbr_init (void)
install_element (OSPF6_NODE, &ospf6_redistribute_cmd);
install_element (OSPF6_NODE, &ospf6_redistribute_routemap_cmd);
install_element (OSPF6_NODE, &no_ospf6_redistribute_cmd);
install_element (OSPF6_NODE, &no_ospf6_redistribute_route_map_cmd);
}
void