]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: really remove the `no ip as-path...` command
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 11 May 2020 12:45:11 +0000 (08:45 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 14 May 2020 19:45:03 +0000 (15:45 -0400)
We had already removed the `ip as-path..` command
to have `bgp as-path` but for some reason a `no ip as-path..`
command ALIAS was still around.  Kill with extreme prejudice.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_filter.c

index 3e26263df1dcbdbb1f56372d46db2c0b03fe3505..0308a30d54a9729ef03320df5cf92242ce9d9883 100644 (file)
@@ -548,15 +548,6 @@ DEFUN (no_as_path_all,
        return CMD_SUCCESS;
 }
 
-ALIAS (no_as_path_all,
-       no_ip_as_path_all_cmd,
-       "no ip as-path access-list WORD",
-       NO_STR
-       IP_STR
-       "BGP autonomous system path filter\n"
-       "Specify an access list name\n"
-       "Regular expression access list name\n")
-
 static void as_list_show(struct vty *vty, struct as_list *aslist)
 {
        struct as_filter *asfilter;
@@ -683,7 +674,6 @@ void bgp_filter_init(void)
        install_element(CONFIG_NODE, &bgp_as_path_cmd);
        install_element(CONFIG_NODE, &no_bgp_as_path_cmd);
        install_element(CONFIG_NODE, &no_bgp_as_path_all_cmd);
-       install_element(CONFIG_NODE, &no_ip_as_path_all_cmd);
 
        install_element(VIEW_NODE, &show_bgp_as_path_access_list_cmd);
        install_element(VIEW_NODE, &show_ip_as_path_access_list_cmd);