mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
ipsecctrl: Don't wait when a connection is to be started
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -124,7 +124,7 @@ void turn_connection_on(char *name, char *type) {
|
|||||||
|
|
||||||
// Bring the connection up again.
|
// Bring the connection up again.
|
||||||
snprintf(command, STRING_SIZE - 1,
|
snprintf(command, STRING_SIZE - 1,
|
||||||
"/usr/sbin/ipsec up %s >/dev/null", name);
|
"/usr/sbin/ipsec stroke up-nb %s >/dev/null", name);
|
||||||
safe_system(command);
|
safe_system(command);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user