]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/misc-progs/ipsecctrl.c
ipsecctrl: Don't wait when a connection is to be started
[people/pmueller/ipfire-2.x.git] / 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,
-               "/usr/sbin/ipsec up %s >/dev/null", name);
+               "/usr/sbin/ipsec stroke up-nb %s >/dev/null", name);
        safe_system(command);
 }