Commit 5f653cf0 authored by Franco Fichtner's avatar Franco Fichtner

ipsec: put back the lock, because...

rc.newwanip, rc.newwanipv6, interface_configure() and interfaces_configure()
all call ipsec_configure_do(), which is no wonder why the code can be prone
to races.
parent f3c0f74f
......@@ -45,4 +45,6 @@ if (file_exists('/var/run/booting')) {
return;
}
$ipseclck = lock('ipsecdns', LOCK_EX);
ipsec_configure_do(true);
unlock($ipseclck);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment