mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 01:42:53 +03:00
include/coap2/net.h: src/net.c: Update code using #587 as a base to fix potential issues. Fixes CID 1502429 CMakeLists.txt: cmake_coap_config.h.in: Test for <net/if.h> examples/coap-rd.c: examples/coap-server.c: man/coap-rd.txt.in: man/coap-server.txt.in: Add in -G option to support specifying interface to use for multicasting. Otherwise, the interface allocated by the O/S is used depending on the address (if any) bound to. man/Makefile.am: man/coap_context.txt.in: Document the coap_join_mcast_group_intf() function. src/coap_debug.c: Make sure that coap_print_addr() returns a NULL terminated buffer.