mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
isc_sockaddr_any6() set sockaddr->length incorrectly
This commit is contained in:
parent
8d6794a163
commit
33e0be00e3
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ isc_sockaddr_any6(isc_sockaddr_t *sockaddr)
|
|||
#endif
|
||||
sockaddr->type.sin6.sin6_addr = in6addr_any;
|
||||
sockaddr->type.sin6.sin6_port = 0;
|
||||
sockaddr->length = sizeof sockaddr->type.sin;
|
||||
sockaddr->length = sizeof sockaddr->type.sin6;
|
||||
ISC_LINK_INIT(sockaddr, link);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue