Jakub Wilk <[email protected]> writes:
> * Russ Allbery <[email protected]>, 2016-09-05, 10:19:

>>(Please cc me on replies; I'm not subscribed to the list.)

> Done!

>>    is_int(0, getsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &flag, &flaglen),
>>           "Getting SO_REUSEADDR works");
>>    is_int(1, flag, "...and it is set");

> The returned option value should be non-zero, but I don't think you can
> assume it's exactly 1.

>> Is there something weird about how SO_REUSEADDR works on kFreeBSD hosts?

> Apparently the returned option value for enabled boolean options is equal
> to the option name (i.e. SO_REUSEADDR == 4 in this case) on (k)FreeBSD.

Ah!  Thank you.  Will fix in the next release, which hopefully won't be
too much longer.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>

Reply via email to