From: Donald Sharp Date: Wed, 30 Aug 2017 11:39:46 +0000 (-0400) Subject: pimd: Add missed frame for vrf based interface X-Git-Tag: frr-4.0-dev~356^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=019eb073a2116b22952001fc3ae490ec78dc1cd7;p=mirror%2Ffrr.git pimd: Add missed frame for vrf based interface pim is vrf aware and the interface based line for vrf's was not being started with a vrf_frame as the non interface based line was. Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index 6eb413a4eb..7607bdf13b 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -257,8 +257,8 @@ int pim_interface_config_write(struct vty *vty) if (vrf->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); ++writes; if (ifp->info) {