]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Fix vty_frame usage in zebra 1084/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 31 Aug 2017 11:33:29 +0000 (07:33 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 31 Aug 2017 11:33:29 +0000 (07:33 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/interface.c

index eea3674c8e185d332369a89bc7c047936a8d1eba..6d0b6daa4e6c605481073ca18232a2e46554ebc3 100644 (file)
@@ -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)