Hi!
>      check_icmpv4_connectivity $lhost_ifname $rhost_ipv4addr
> 
> +    sleep 5
> 
>      if [ $? -ne 0 ]; then

This is wrong as you check the return value from the sleep command
rather than the return value form the check_icmpv4_connectivity.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to