Be more careful when performing a ping to use the correct ping type if an IP address is entered.