]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Add missed frame for vrf based interface
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 30 Aug 2017 11:39:46 +0000 (07:39 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 30 Aug 2017 11:39:46 +0000 (07:39 -0400)
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 <sharpd@cumulusnetworks.com>
pimd/pim_vty.c

index 6eb413a4eb8e78d9698a99d5609f1fc25186fd77..7607bdf13b2d6ba81d23da114258c407de14f67f 100644 (file)
@@ -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) {