]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #1084 from donaldsharp/zebra_frame
authorDavid Lamparter <equinox@diac24.net>
Mon, 11 Sep 2017 09:01:39 +0000 (11:01 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2017 09:01:39 +0000 (11:01 +0200)
zebra: Fix vty_frame usage in zebra

zebra/interface.c

index 5d022591594262a104355d540104253eb73315fc..358f940c525069ed7c63dc01885dabd20eb96e02 100644 (file)
@@ -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)