summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2021-08-26 17:57:33 +0200
committerGitHub <noreply@github.com>2021-08-26 17:57:33 +0200
commitd448e2c5f96b3430fd643f52b9264ca87a45c291 (patch)
treed38574fb0ce8c936a003287d107eebf6eb718a8c /ripd
parentMerge pull request #9492 from Jafaral/pim-cov (diff)
parent*: explicitly print "exit" at the end of every node config (diff)
downloadfrr-d448e2c5f96b3430fd643f52b9264ca87a45c291.tar.xz
frr-d448e2c5f96b3430fd643f52b9264ca87a45c291.zip
Merge pull request #9331 from idryzhov/explicit-exit
*: explicitly print "exit" at the end of every node config
Diffstat (limited to 'ripd')
-rw-r--r--ripd/ripd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 3d1427c3b..97edd1c38 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -3281,6 +3281,8 @@ static int config_write_rip(struct vty *vty)
/* Interface routemap configuration */
config_write_if_rmap(vty, rip->if_rmap_ctx);
+ vty_out(vty, "exit\n");
+
write = 1;
}