libpcp / pcp

PCP client library
BSD 2-Clause "Simplified" License
69 stars 30 forks source link

Fixed OS X compilation (works at least on 10.9 now). #8

Closed fingon closed 10 years ago

fingon commented 10 years ago

All of that s6_addr32 magic a) wasn't needed (there was just one place using it), and b) didn't seem to even work.

Also in gateway.c I think there was even wild typecasting caused (platform independent) bug as it used sockaddr_in6 as if it was in6_addr.

libpcp commented 10 years ago

Thank you, for this fix.