Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"any" is broken after change to sacmp for ipv4 networks #911

Closed
kshelton opened this issue Aug 3, 2016 · 0 comments
Closed

"any" is broken after change to sacmp for ipv4 networks #911

kshelton opened this issue Aug 3, 2016 · 0 comments

Comments

@kshelton
Copy link
Contributor

kshelton commented Aug 3, 2016

When the client.keys ip address is converted to an os_ip any gets converted to ::/0 and then when converted to a struct sockaddr it's family gets set to AF_INET6. Because of this the check for family fails and the code never makes it to the byte comparison which would pass because of no prefixlength.

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

No branches or pull requests

1 participant