reduced ping to just 5 packets

This commit is contained in:
Rohit Gupta
2015-12-07 13:07:27 +01:00
parent 85d0a88e30
commit feae43f81f
@@ -127,7 +127,7 @@ def start_ue () :
ip = IPRoute()
idx = ip.link_lookup(ifname=iface)[0]
os.system ('route add 192.172.0.1 ppp0')
os.system ('ping 192.172.0.1')
os.system ('ping -c 5 192.172.0.1')
break
except Exception, e:
error = ' Interface ' + iface + 'does not exist...'