wgengine/router: rename config.Settings to config.Config, make pointer.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:

committed by
Dave Anderson

parent
72cae5504c
commit
9ccbcda612
@ -7,7 +7,7 @@
|
||||
package router
|
||||
|
||||
// SetRoutesFunc applies the given router settings to the OS network
|
||||
// stack.
|
||||
// stack. cfg is guaranteed to be non-nil.
|
||||
//
|
||||
// This is logically part of the router_darwin.go implementation, and
|
||||
// should not be used on other platforms.
|
||||
@ -22,4 +22,4 @@ package router
|
||||
// as MacOS, so that we don't have to wait until the Mac CI to
|
||||
// discover that we broke it. So this one definition needs to exist in
|
||||
// both the darwin and linux builds. Hence this file and build tag.
|
||||
var SetRoutesFunc func(rs Settings) error
|
||||
var SetRoutesFunc func(cfg *Config) error
|
||||
|
Reference in New Issue
Block a user