From b86f5cfb32ca53ce995064b672d3cbef62a2e0d8 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 31 Aug 2017 07:33:29 -0400 Subject: [PATCH] zebra: Fix vty_frame usage in zebra Signed-off-by: Donald Sharp --- zebra/interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra/interface.c b/zebra/interface.c index eea3674c8e..6d0b6daa4e 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -2861,8 +2861,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) -- 2.39.5