Fix error when not doing ICMP pings.