summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sdnvpn/lib/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnvpn/lib/utils.py b/sdnvpn/lib/utils.py
index f2e65a6..3bac483 100644
--- a/sdnvpn/lib/utils.py
+++ b/sdnvpn/lib/utils.py
@@ -154,7 +154,7 @@ def generate_ping_userdata(ips_array):
"while true; do\n"
" for i do\n"
" ip=$i\n"
- " ping -c 1 $ip 2>&1 >/dev/null\n"
+ " ping -c 10 $ip 2>&1 >/dev/null\n"
" RES=$?\n"
" if [ \"Z$RES\" = \"Z0\" ] ; then\n"
" echo ping $ip OK\n"