diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-29 17:48:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-29 17:48:36 -0400 |
| commit | 32592ffb4f04f18b7eacaeca3c6fc254bafbc5b3 (patch) | |
| tree | 4a17e3eebc48dfe96dd0e6cb0578b937e1b41dd9 /zebra/interface.c | |
| parent | b9d4bfa71ec726c10b915761ede6d91a33d3d385 (diff) | |
| parent | 5309b14eae13b6664646c93d2ad8ecb6401c8593 (diff) | |
Merge pull request #1056 from opensourcerouting/oldbits-0
"pathspace" options, vtysh-suid-cleanups, "vty_frame()"
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 a03b7f9615..63f0b9e386 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -2793,7 +2793,7 @@ static int if_config_write(struct vty *vty) vrf = vrf_lookup_by_id(ifp->vrf_id); if (ifp->vrf_id == VRF_DEFAULT) - vty_out(vty, "interface %s\n", ifp->name); + vty_frame(vty, "interface %s\n", ifp->name); else vty_out(vty, "interface %s vrf %s\n", ifp->name, vrf->name); @@ -2844,7 +2844,7 @@ static int if_config_write(struct vty *vty) link_params_config_write(vty, ifp); - vty_out(vty, "!\n"); + vty_endframe(vty, "!\n"); } return 0; } |
