projects
/
people
/
pmueller
/
ipfire-2.x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64bd20c
)
ipsecctrl: increase delay after ipsec reload.
author
Arne Fitzenreiter
<arne_f@ipfire.org>
Thu, 24 Jun 2010 18:44:37 +0000
(20:44 +0200)
committer
Arne Fitzenreiter
<arne_f@ipfire.org>
Thu, 24 Jun 2010 18:44:37 +0000
(20:44 +0200)
src/misc-progs/ipsecctrl.c
patch
|
blob
|
blame
|
history
diff --git
a/src/misc-progs/ipsecctrl.c
b/src/misc-progs/ipsecctrl.c
index
d974d6c
..
ea3eda9
100644
(file)
--- 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);