Use strtonum instead of strto{,u}ll for simpler and better overflow
authortb <tb@openbsd.org>
Tue, 25 Apr 2017 17:33:16 +0000 (17:33 +0000)
committertb <tb@openbsd.org>
Tue, 25 Apr 2017 17:33:16 +0000 (17:33 +0000)
commitebe44704a9fc446ab78ac11f65e786166ba1cc4e
tree045dd1c081b69c9225f0324fa92abb5b2c352a39
parent3a0c3a66a478e86cbb93f0c8170d3f58ab51c181
Use strtonum instead of strto{,u}ll for simpler and better overflow
checking, make somaxconn and sominconn unsigned.

Issue reported by orge on freenode, thanks!
Input, patient explanations and ok deraadt, millert.
sbin/sysctl/sysctl.c