From f64e741e65a7bec2e15ad47c29c2226a29a8b37d Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 19 May 2015 18:29:17 -0700 Subject: [PATCH] vtysh: service integrated-vtysh-config not being written to file 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 --- vtysh/vtysh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index e7d5036d54..2967dedcb3 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -2032,6 +2032,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); -- 2.39.5