Commit 33e0be00 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

isc_sockaddr_any6() set sockaddr->length incorrectly

parent 8d6794a1
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment