summaryrefslogtreecommitdiffstats
path: root/zebra
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
parentMerge pull request #1149 from qlyoung/fix-thread-master-name-leak (diff)
parentzebra: Fix vty_frame usage in zebra (diff)
downloadfrr-848e7ccac4bd267f94fe96dd3cd84a66b3749803.tar.xz
frr-848e7ccac4bd267f94fe96dd3cd84a66b3749803.zip
Merge pull request #1084 from donaldsharp/zebra_frame
zebra: Fix vty_frame usage in zebra
Diffstat (limited to 'zebra')
-rw-r--r--zebra/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 5d0225915..358f940c5 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)