To compile onf FreeBSD
FossilOrigin-Name: 543731a4792c3f6fbc3560e7a0743f98ca1791c2b0831e82bf126953ab744a72
This commit is contained in:
parent
5f8db1b8ea
commit
c4307d9e70
@ -105,7 +105,7 @@ int cw_run_discovery(struct conn *conn, const char *addr, const char *bindaddr)
|
|||||||
memset(&hints, 0, sizeof(hints));
|
memset(&hints, 0, sizeof(hints));
|
||||||
|
|
||||||
hints.ai_socktype = SOCK_DGRAM;
|
hints.ai_socktype = SOCK_DGRAM;
|
||||||
hints.ai_family = PF_UNSPEC;
|
hints.ai_family = AF_UNSPEC;
|
||||||
|
|
||||||
|
|
||||||
strncpy(caddr, addr, sizeof(caddr));
|
strncpy(caddr, addr, sizeof(caddr));
|
||||||
|
Loading…
Reference in New Issue
Block a user