]> git.puffer.fish Git - mirror/frr.git/commitdiff
vtysh: Allow vtysh to pass through vrf commands to pim
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 22 May 2017 18:55:47 +0000 (14:55 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 24 Jul 2017 17:51:33 +0000 (13:51 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
vtysh/extract.pl.in
vtysh/vtysh.h

index ca280c58720c0d1fe5baad8ddf9f2d851ef6003c..f33c7b9603a10c7ac3a24586dadfb96135e4e13a 100755 (executable)
@@ -85,7 +85,7 @@ foreach (@ARGV) {
             $protocol = "VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIMD|VTYSH_EIGRPD";
         }
         elsif ($file =~ /lib\/vrf\.c$/) {
-            $protocol = "VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_EIGRPD|VTYSH_BABELD";
+            $protocol = "VTYSH_ALL";
         }
         elsif ($file =~ /lib\/filter\.c$/) {
             $protocol = "VTYSH_ALL";
index 67ee8898c98e779fb660c7542c55a1b5cf131003..57a25132a20a6f00b5c585eb933e8ce25eac6038 100644 (file)
@@ -47,7 +47,7 @@ DECLARE_MGROUP(MVTYSH)
 #define VTYSH_RMAP       VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_PIMD
 #define VTYSH_INTERFACE          VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_ISISD|VTYSH_PIMD|VTYSH_NHRPD|VTYSH_EIGRPD|VTYSH_BABELD
 #define VTYSH_NS          VTYSH_ZEBRA
-#define VTYSH_VRF        VTYSH_ZEBRA
+#define VTYSH_VRF        VTYSH_ZEBRA|VTYSH_PIMD
 
 /* vtysh local configuration file. */
 #define VTYSH_DEFAULT_CONFIG "vtysh.conf"