summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Ryzhov <idryzhov@gmail.com>2022-01-17 06:33:17 +0300
committerGitHub <noreply@github.com>2022-01-17 06:33:17 +0300
commit1f325f84383bfd1fce5fd5a14db66d2b931e27c6 (patch)
treee9a6a24d94c519eafb34f669982d2f1e54b80186
parent3ae667e5275c75148adee1bf216ebdd329d74c0b (diff)
parent1b3aea985e0cf1f7fdbc329cea204abcfcf80743 (diff)
Merge pull request #10350 from Drumato/fix-zebra-srv6-segment-routing-block
-rw-r--r--vtysh/vtysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index c56b72fcbb..8e95aaa47c 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -4280,6 +4280,7 @@ void vtysh_init_vty(void)
#endif /* HAVE_BFDD */
install_node(&segment_routing_node);
+ install_element(CONFIG_NODE, &segment_routing_cmd);
install_element(SEGMENT_ROUTING_NODE, &vtysh_exit_sr_cmd);
install_element(SEGMENT_ROUTING_NODE, &vtysh_quit_sr_cmd);
install_element(SEGMENT_ROUTING_NODE, &vtysh_end_all_cmd);
@@ -4305,7 +4306,6 @@ void vtysh_init_vty(void)
install_element(SR_POLICY_NODE, &vtysh_end_all_cmd);
install_element(SR_CANDIDATE_DYN_NODE, &vtysh_end_all_cmd);
- install_element(CONFIG_NODE, &segment_routing_cmd);
install_element(SEGMENT_ROUTING_NODE, &sr_traffic_eng_cmd);
install_element(SR_TRAFFIC_ENG_NODE, &srte_segment_list_cmd);
install_element(SR_TRAFFIC_ENG_NODE, &srte_policy_cmd);