Commit 5460bae ("*: fix 'babeld: Remove babeld from Quagga' (336724d)")
unfortunately removed the BABEL_NODE from vtysh, which now no longer
starts.

Fix by restoring the node (even though it won't be accessible).

Reported-by: Nicolas Dichtel <[email protected]>
Fixes: 5460bae ("*: fix 'babeld: Remove babeld from Quagga' (336724d)")
Signed-off-by: David Lamparter <[email protected]>
---

Pushed this directly to master as it is a revert, rather trivial,
has been loosely discussed here, and fixes vtysh not working...

-David

---
 vtysh/vtysh.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index e2d63f9..b33ac90 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -798,6 +798,12 @@ static struct cmd_node ospf6_node =
   "%s(config-ospf6)# "
 };
 
+static struct cmd_node babel_node =
+{
+  BABEL_NODE,
+  "%s(config-babel)# "
+};
+
 static struct cmd_node keychain_node =
 {
   KEYCHAIN_NODE,
@@ -2248,6 +2254,7 @@ vtysh_init_vty (void)
   install_node (&ripng_node, NULL);
   install_node (&ospf6_node, NULL);
 /* #endif */
+  install_node (&babel_node, NULL);
   install_node (&keychain_node, NULL);
   install_node (&keychain_key_node, NULL);
   install_node (&isis_node, NULL);
-- 
2.3.6


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to