Simplify IP proto-specific sockopt error handling.
authorbcook <bcook@openbsd.org>
Fri, 1 Jul 2016 00:29:14 +0000 (00:29 +0000)
committerbcook <bcook@openbsd.org>
Fri, 1 Jul 2016 00:29:14 +0000 (00:29 +0000)
commitf79ef6595e77c5fdf59f098a3f4a1e2231225876
tree54bf603794aa943eb76aa9c56b76b6d46a720f5c
parent3471b98a1c242378978628aa4fbcc93b54ab52c7
Simplify IP proto-specific sockopt error handling.

This makes error messages more specific and simplifies
masking compatible sections for the portable version.

ok beck@
usr.bin/nc/netcat.c