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)