summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-09-11 11:01:39 +0200
committerGitHub <noreply@github.com>2017-09-11 11:01:39 +0200
commit848e7ccac4bd267f94fe96dd3cd84a66b3749803 (patch)
tree627c1d96e46bb49f7f2d700f9e3ceaf542f2c193 /zebra/interface.c
parent29b32df94d11ab454eb72f11e89a58dbc98cc0d5 (diff)
parentb86f5cfb32ca53ce995064b672d3cbef62a2e0d8 (diff)
Merge pull request #1084 from donaldsharp/zebra_frame
zebra: Fix vty_frame usage in zebra
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 5d02259159..358f940c52 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -2850,8 +2850,8 @@ static int if_config_write(struct vty *vty)
if (ifp->vrf_id == VRF_DEFAULT)
vty_frame(vty, "interface %s\n", ifp->name);
else
- vty_out(vty, "interface %s vrf %s\n", ifp->name,
- vrf->name);
+ vty_frame(vty, "interface %s vrf %s\n", ifp->name,
+ vrf->name);
if (if_data) {
if (if_data->shutdown == IF_ZEBRA_SHUTDOWN_ON)