From: Donald Sharp Date: Mon, 22 May 2017 18:55:47 +0000 (-0400) Subject: vtysh: Allow vtysh to pass through vrf commands to pim X-Git-Tag: frr-4.0-dev~468^2~153 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=6f2f0be83241daca947110c8e50b8b8bff3f6873;p=mirror%2Ffrr.git vtysh: Allow vtysh to pass through vrf commands to pim Signed-off-by: Donald Sharp --- diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in index ca280c5872..f33c7b9603 100755 --- a/vtysh/extract.pl.in +++ b/vtysh/extract.pl.in @@ -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"; diff --git a/vtysh/vtysh.h b/vtysh/vtysh.h index 67ee8898c9..57a25132a2 100644 --- a/vtysh/vtysh.h +++ b/vtysh/vtysh.h @@ -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"