mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-25 10:09:17 +00:00
wgengine/router: remove wireguard-go config from settings.
Instead, pass in only exactly the relevant configuration pieces that the OS network stack cares about. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
committed by
Dave Anderson
parent
8861bb5a19
commit
b8f01eed34
@@ -26,7 +26,7 @@ func (r *darwinRouter) Up() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *darwinRouter) SetRoutes(rs RouteSettings) error {
|
||||
func (r *darwinRouter) Set(rs Settings) error {
|
||||
if SetRoutesFunc != nil {
|
||||
return SetRoutesFunc(rs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user