eclipse / mosquitto.rsmb

Mosquitto rsmb
85 stars 42 forks source link

Added defines for IPV6_ADD_MEMBERSHIP and IPV6_DROP_MEMBERSHIP #18

Closed njh closed 8 years ago

njh commented 8 years ago

These constants don't exist on BSD systems / Mac OS X.

It is not clear to me why Linux uses one set of constants and BSD uses the other: http://stackoverflow.com/questions/10931202/what-is-the-difference-between-ipv6-add-membership-and-ipv6-join-group/13628854#13628854

Or which is preferred. But this fixes it.

Signed-off-by: Nicholas Humfrey njh@aelius.com