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:
Michael Tremer
2018-11-29 16:12:45 +00:00
parent 5a9c9ff312
commit b89ae1a4e3

View File

@@ -124,7 +124,7 @@ void turn_connection_on(char *name, char *type) {
// Bring the connection up again.
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);
}