From 76260b357850d85e93b9661c53a79ce263ee456c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 31 Aug 2017 12:52:46 -0400 Subject: [PATCH] pimd: Add usage of vty_frame for vrf configuration Signed-off-by: Donald Sharp --- pimd/pim_instance.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index d1f8085b48..5a59342947 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -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; -- 2.39.5