Changed to "new" sock_addrtostr.
FossilOrigin-Name: 4514d4f40bed468e001f84182e37529369b1b973c77c35106d40ed0a7b05ae55
This commit is contained in:
parent
eb90a1bcad
commit
b96c8d3bf0
@ -264,7 +264,7 @@ int socklist_add_multicast(const char *addr, const char *port, int ac_proto)
|
||||
optlen = sizeof(mreq);
|
||||
|
||||
char sinin[100];
|
||||
sock_addrtostr((struct sockaddr *) sain, sinin, 100);
|
||||
sock_addrtostr((struct sockaddr *) sain, sinin, 100,1);
|
||||
|
||||
if (setsockopt(sockfd, IPPROTO_IP, IP_ADD_MEMBERSHIP, opt, optlen)
|
||||
< 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user