diff options
| author | Christian Hopps <chopps@labn.net> | 2021-08-26 11:57:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 11:57:33 -0400 |
| commit | d448e2c5f96b3430fd643f52b9264ca87a45c291 (patch) | |
| tree | d38574fb0ce8c936a003287d107eebf6eb718a8c /zebra/interface.c | |
| parent | a594fc56829eecf60bedcb763b8d5962432b4c32 (diff) | |
| parent | 07679ad98ab97a4b783f7ae54f88d4d70a5729de (diff) | |
Merge pull request #9331 from idryzhov/explicit-exit
*: explicitly print "exit" at the end of every node config
Diffstat (limited to 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index 21eeb20543..18f7503f82 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -4096,7 +4096,7 @@ static int link_params_config_write(struct vty *vty, struct interface *ifp) if (IS_PARAM_SET(iflp, LP_RMT_AS)) vty_out(vty, " neighbor %pI4 as %u\n", &iflp->rmt_ip, iflp->rmt_as); - vty_out(vty, " exit-link-params\n"); + vty_out(vty, " exit-link-params\n"); return 0; } @@ -4188,7 +4188,7 @@ static int if_config_write(struct vty *vty) zebra_evpn_mh_if_write(vty, ifp); link_params_config_write(vty, ifp); - vty_endframe(vty, "!\n"); + vty_endframe(vty, "exit\n!\n"); } return 0; } |
