pimd: Add usage of vty_frame for vrf configuration

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-08-31 12:52:46 -04:00
parent 915902cb82
commit 76260b3578

View File

@ -202,9 +202,9 @@ static int pim_vrf_config_write(struct vty *vty)
if (vrf->vrf_id == VRF_DEFAULT)
continue;
vty_out(vty, "vrf %s\n", vrf->name);
vty_frame(vty, "vrf %s\n", vrf->name);
pim_global_config_write_worker(pim, vty);
vty_out(vty, "!\n");
vty_endframe(vty, "!\n");
}
return 0;