Skip to content

Conversation

@BranLiang
Copy link
Contributor

Currently, you can't set the netmask in macos system. It will always be netmask 0xff000000, no matter what kind of netmask is given to the program.

Seems command siocsifnetmask doesn't work as expected. The fix tries to make another system call siocaifaddr, which was defined but not used.

Tophatting:

Screenshot 2023-02-08 at 14 15 27

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