diff options
author | Christian Hopps <chopps@labn.net> | 2021-08-26 17:57:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 17:57:33 +0200 |
commit | d448e2c5f96b3430fd643f52b9264ca87a45c291 (patch) | |
tree | d38574fb0ce8c936a003287d107eebf6eb718a8c /pbrd | |
parent | Merge pull request #9492 from Jafaral/pim-cov (diff) | |
parent | *: explicitly print "exit" at the end of every node config (diff) | |
download | frr-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 'pbrd')
-rw-r--r-- | pbrd/pbr_vty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c index 2936d1e34..6c007acb5 100644 --- a/pbrd/pbr_vty.c +++ b/pbrd/pbr_vty.c @@ -1118,7 +1118,7 @@ static int pbr_interface_config_write(struct vty *vty) pbr_map_write_interfaces(vty, ifp); - vty_endframe(vty, "!\n"); + vty_endframe(vty, "exit\n!\n"); } } @@ -1184,6 +1184,7 @@ static int pbr_vty_map_config_write_sequence(struct vty *vty, pbrms_nexthop_group_write_individual_nexthop(vty, pbrms); } + vty_out(vty, "exit\n"); vty_out(vty, "!\n"); return 1; } |