]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
IPsec: Rewrite configuration first after deleting the connection bug-12341
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Mar 2020 10:13:04 +0000 (10:13 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 31 Mar 2020 10:13:04 +0000 (10:13 +0000)
commitce845d28a29a41193ae536119e05e52473ef9eaf
treec5a72f469ae5b9eaf38f9b7448ae36cb20dc9e03
parent81ebfac70d723cfabe214a0791d1d028da61102a
IPsec: Rewrite configuration first after deleting the connection

This was executed in the wrong order. strongswan was being reloaded
but the connection was still remaining in the configuration file.

Now the configuration files are updated first. The connection
is then brought down and will be removed.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/vpnmain.cgi