Skip to content

fix(vpn): send subnet masks and prefix lengths from router #16317

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

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Jan 29, 2025

These were somehow missed when I wrote the router..

Also updates coder/tailscale to bring in the DNS changes coder/tailscale#64

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Mtu: uint32(cfg.NewMTU),
Ipv4Settings: &NetworkSettingsRequest_IPv4Settings{
var v4Settings *NetworkSettingsRequest_IPv4Settings
if len(v4LocalAddrs) > 0 || len(v4Routes) > 0 || len(v4ExcludedRoutes) > 0 {
Copy link
Member Author

@ethanndickson ethanndickson Jan 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

macOS complains if you supply the V4 & v6 Settings types with all the fields empty, but they can be nil, so we'll send that instead.

@ethanndickson ethanndickson marked this pull request as ready for review January 29, 2025 01:47
@ethanndickson ethanndickson merged commit a658ccf into main Jan 29, 2025
33 checks passed
@ethanndickson ethanndickson deleted the ethan/fix-vpn-router branch January 29, 2025 04:11
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants