mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-08 10:32:53 +03:00
As IN_MULTICAST does a 32 bit comparison in host byte order, sin_addr.s_addr needs to be converted using ntohl(). This change also moves the coap_is_mcast() implementation to address.c because it has become too complex for inlining.