summaryrefslogtreecommitdiff
path: root/zebra/zebra_srv6_vty.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2021-08-26 11:57:33 -0400
committerGitHub <noreply@github.com>2021-08-26 11:57:33 -0400
commitd448e2c5f96b3430fd643f52b9264ca87a45c291 (patch)
treed38574fb0ce8c936a003287d107eebf6eb718a8c /zebra/zebra_srv6_vty.c
parenta594fc56829eecf60bedcb763b8d5962432b4c32 (diff)
parent07679ad98ab97a4b783f7ae54f88d4d70a5729de (diff)
Merge pull request #9331 from idryzhov/explicit-exit
*: explicitly print "exit" at the end of every node config
Diffstat (limited to 'zebra/zebra_srv6_vty.c')
-rw-r--r--zebra/zebra_srv6_vty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_srv6_vty.c b/zebra/zebra_srv6_vty.c
index 97935f126e..d2b91b6c07 100644
--- a/zebra/zebra_srv6_vty.c
+++ b/zebra/zebra_srv6_vty.c
@@ -320,10 +320,14 @@ static int zebra_sr_config(struct vty *vty)
vty_out(vty, " locator %s\n", locator->name);
vty_out(vty, " prefix %s/%u\n", str,
locator->prefix.prefixlen);
+ vty_out(vty, " exit\n");
vty_out(vty, " !\n");
}
+ vty_out(vty, " exit\n");
vty_out(vty, " !\n");
+ vty_out(vty, " exit\n");
vty_out(vty, " !\n");
+ vty_out(vty, "exit\n");
vty_out(vty, "!\n");
}
return 0;