Merge pull request #1084 from donaldsharp/zebra_frame

zebra: Fix vty_frame usage in zebra
This commit is contained in:
David Lamparter 2017-09-11 11:01:39 +02:00 committed by GitHub
commit 848e7ccac4

View 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)