]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
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 278bacd0b7ac29272a40dc2f4cf21261217a9db9..8e6b46ec84d5ef4a1202dbacc73e6512df203a74 100644 (file)
@@ -124,7 +124,7 @@ void turn_connection_on(char *name, char *type) {
 
        // Bring the connection up again.
        snprintf(command, STRING_SIZE - 1,
 
        // 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);
 }
 
        safe_system(command);
 }