K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-02-04T03:01:33.541953Z K 7 svn:log V 427 libc/net: Fix some issues in inet6_opt_init() (from RFC 3542): * The RFC says (in section 10.1) that only when extbuf is not NULL, extlen shall be checked, so don't perform this check when NULL is passed. * socklen_t is unsigned, so checking extlen for less than zero is not needed. Submitted by: swildner@dragonflybsd.org Reviewed by: Mark Martinec Reviewed by: hrs Obtained by: DragonFlyBSD END