Skip to content

Conversation

@M0dEx
Copy link

@M0dEx M0dEx commented Apr 8, 2023

This PR fixes multiple issues with address assignment on MacOS:

  • bad dummy socket IP which caused all address operations to throw EINVAL.
  • address assignment for TUN interfaces on MacOS works differently than on Linux, as you do not only specify the address of the interface, but also the destination address/network

Any changes, ideas and code style improvements welcome!

Fixes #69.

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.

add_address returns EINVAL for any address in darwin InterfaceHandle

1 participant