From: Donald Sharp Date: Wed, 20 May 2015 01:29:17 +0000 (-0700) Subject: vtysh: service integrated-vtysh-config not being written to file X-Git-Tag: frr-2.0-rc1~1366 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f64e741e65a7bec2e15ad47c29c2226a29a8b37d;p=matthieu%2Ffrr.git 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 --- 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);