From 798023e9a64fb7689be2af50682f57938233ac77 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 24 Jun 2010 20:44:37 +0200 Subject: [PATCH] ipsecctrl: increase delay after ipsec reload. --- src/misc-progs/ipsecctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc-progs/ipsecctrl.c b/src/misc-progs/ipsecctrl.c index d974d6c6a5..ea3eda9fd7 100644 --- a/src/misc-progs/ipsecctrl.c +++ b/src/misc-progs/ipsecctrl.c @@ -141,7 +141,7 @@ void turn_connection_on (char *name, char *type) { safe_system("/usr/sbin/ipsec reload >/dev/null"); memset(command, 0, STRING_SIZE); /* give ipsec time to be ready */ - safe_system("/bin/sleep 2"); + safe_system("/bin/sleep 5"); snprintf(command, STRING_SIZE - 1, "/usr/sbin/ipsec up %s >/dev/null", name); safe_system(command); -- 2.39.2