Use strtonum() when parsing argument list, as ping(8) does. Give
authorkrw <krw@openbsd.org>
Sat, 2 May 2015 00:32:03 +0000 (00:32 +0000)
committerkrw <krw@openbsd.org>
Sat, 2 May 2015 00:32:03 +0000 (00:32 +0000)
commit767f6f2f9399133838a7dae476f3cf39891e2045
tree540502c30d2325e66e5ddced28d29bd388c152a3
parent0c80351c4db9a673486e37a4491a3a7647590290
Use strtonum() when parsing argument list, as ping(8) does.  Give
or take a cast. Tweak error messages to also be consistant with
ping(8).

Change lower bound of '-h' to 0 from -1 at the request of florian@.

Tweaks and suggestions from, ok florian@
sbin/ping6/ping6.c