Skip to content

Commit

Permalink
zebra: Fix to set tag for a static route configured.
Browse files Browse the repository at this point in the history
Fixes bug #955.

Removed the installation of vrf specific tag and distance command.

Reported by: goodman <[email protected]>
  • Loading branch information
balajig committed Oct 2, 2017
1 parent 44b486f commit fceb0cf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions zebra/zebra_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -5293,7 +5293,6 @@ zebra_vty_init (void)
install_element (VIEW_NODE, &show_ip_protocol_cmd);
install_element (CONFIG_NODE, &ip_route_cmd);
install_element (CONFIG_NODE, &ip_route_tag_cmd);
install_element (CONFIG_NODE, &ip_route_tag_vrf_cmd);
install_element (CONFIG_NODE, &ip_route_flags_cmd);
install_element (CONFIG_NODE, &ip_route_flags_tag_cmd);
install_element (CONFIG_NODE, &ip_route_flags_tag_vrf_cmd);
Expand All @@ -5311,7 +5310,6 @@ zebra_vty_init (void)
install_element (CONFIG_NODE, &ip_route_mask_flags2_tag_vrf_cmd);
install_element (CONFIG_NODE, &no_ip_route_cmd);
install_element (CONFIG_NODE, &no_ip_route_tag_cmd);
install_element (CONFIG_NODE, &no_ip_route_tag_vrf_cmd);
install_element (CONFIG_NODE, &no_ip_route_flags_cmd);
install_element (CONFIG_NODE, &no_ip_route_flags_tag_cmd);
install_element (CONFIG_NODE, &no_ip_route_flags2_cmd);
Expand All @@ -5326,7 +5324,6 @@ zebra_vty_init (void)
install_element (CONFIG_NODE, &no_ip_route_mask_flags2_tag_vrf_cmd);
install_element (CONFIG_NODE, &ip_route_distance_cmd);
install_element (CONFIG_NODE, &ip_route_tag_distance_cmd);
install_element (CONFIG_NODE, &ip_route_tag_distance_vrf_cmd);
install_element (CONFIG_NODE, &ip_route_flags_distance_cmd);
install_element (CONFIG_NODE, &ip_route_flags_tag_distance_cmd);
install_element (CONFIG_NODE, &ip_route_flags_tag_distance_vrf_cmd);
Expand All @@ -5344,7 +5341,6 @@ zebra_vty_init (void)
install_element (CONFIG_NODE, &ip_route_mask_flags_tag_distance2_vrf_cmd);
install_element (CONFIG_NODE, &no_ip_route_distance_cmd);
install_element (CONFIG_NODE, &no_ip_route_tag_distance_cmd);
install_element (CONFIG_NODE, &no_ip_route_tag_distance_vrf_cmd);
install_element (CONFIG_NODE, &no_ip_route_flags_distance_cmd);
install_element (CONFIG_NODE, &no_ip_route_flags_tag_distance_cmd);
install_element (CONFIG_NODE, &no_ip_route_flags_tag_distance_vrf_cmd);
Expand Down

0 comments on commit fceb0cf

Please sign in to comment.