The vtysh commands:
service integrated-vtysh-config
hostname XXXX

were not being written to the /etc/quagga/Quagga.conf file with a wr mem
when service integrated-vtysh-config was issued.  This patch fixes this
issue

Signed-off-by: Donald Sharp <[email protected]>
---
 vtysh/vtysh.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index c9e5fbb..a36f614 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -1991,6 +1991,7 @@ write_config_integrated(void)
   for (i = 0; i < array_size(vtysh_client); i++)
     vtysh_client_config (&vtysh_client[i], line);
 
+  vtysh_config_write ();
   vtysh_config_dump (fp);
 
   fclose (fp);
-- 
1.9.1


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

Reply via email to