mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-12 11:40:39 +03:00
use site-local multicast group
This commit is contained in:
1 parent
d82a7dca77
commit
14e626f9a4
1 file changed
+1
-1
@@ -170,7 +170,7 @@ join( coap_context_t *ctx ){
|
||||
hints.ai_socktype = SOCK_DGRAM;
|
||||
|
||||
// Resolve the multicast address
|
||||
getaddrinfo("ff02:2001::1", NULL, &hints, &resmulti);
|
||||
getaddrinfo("ff05:2001::1", NULL, &hints, &resmulti);
|
||||
|
||||
for (ainfo = resmulti; ainfo != NULL; ainfo = ainfo->ai_next) {
|
||||
if ( ainfo->ai_family == AF_INET6 ) {
|
||||
|
||||
Reference in new issue
Block a user