Skip to content

Conversation

@vlm
Copy link
Contributor

@vlm vlm commented Mar 24, 2017

Otherwise e.g. valgrind complains.

@sustrik
Copy link
Owner

sustrik commented Mar 25, 2017

Is this causing problems?

AFAIU this field is not required to be set, see here:

http://stackoverflow.com/questions/38913326/are-sockaddr-in-and-sockaddr-in6-still-using-sin-len-and-sin6-len

@vlm
Copy link
Contributor Author

vlm commented Mar 25, 2017 via email

@sustrik sustrik merged commit f6a52c5 into sustrik:master Mar 25, 2017
@sustrik
Copy link
Owner

sustrik commented Mar 25, 2017

Fair enough. Thanks for the patch!

@vlm
Copy link
Contributor Author

vlm commented Mar 25, 2017

Yeah, if you noticed there's a provision for setting the sin_len in the DNS library (the #if defined(SA_LEN) which I've extended), but it wasn't consistently applied.

@vlm
Copy link
Contributor Author

vlm commented Mar 25, 2017

Also, wahern/dns#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants