]> git.puffer.fish Git - mirror/frr.git/commitdiff
vtysh: Let staticd know about vrf sub-mode
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 29 Aug 2018 02:43:42 +0000 (22:43 -0400)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 31 Aug 2018 09:29:27 +0000 (11:29 +0200)
staticd was not transitioning into vrf sub-mode, this fixes it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
vtysh/vtysh.h

index c8e4c025e035b77bec851b517a6dd88fed7d7050..5bff01a5067826c43d3dae281bcb3195b417e093 100644 (file)
@@ -53,7 +53,7 @@ DECLARE_MGROUP(MVTYSH)
 #define VTYSH_RMAP       VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ISISD|VTYSH_PIMD|VTYSH_EIGRPD|VTYSH_SHARPD
 #define VTYSH_INTERFACE          VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_ISISD|VTYSH_PIMD|VTYSH_NHRPD|VTYSH_EIGRPD|VTYSH_BABELD|VTYSH_PBRD
 #define VTYSH_NS          VTYSH_ZEBRA
-#define VTYSH_VRF        VTYSH_ZEBRA|VTYSH_PIMD
+#define VTYSH_VRF        VTYSH_ZEBRA|VTYSH_PIMD|VTYSH_STATICD
 
 enum vtysh_write_integrated {
        WRITE_INTEGRATED_UNSPECIFIED,