ipsecctrl: Don't wait when a connection is to be started
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 29 Nov 2018 16:12:45 +0000 (16:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Feb 2019 18:20:36 +0000 (18:20 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/misc-progs/ipsecctrl.c

index 278bacd..8e6b46e 100644 (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);
 }