wgengine: update for wgcfg changes

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
This commit is contained in:
David Crawshaw
2020-02-19 10:32:25 -05:00
parent c4f6f622f0
commit d0f697ee07
3 changed files with 6 additions and 7 deletions

View File

@ -6,7 +6,6 @@ package wgengine
import (
"fmt"
"net"
"time"
"github.com/tailscale/wireguard-go/device"
@ -46,7 +45,7 @@ type StatusCallback func(*Status, error)
// itself, like DNS stuff.
type RouteSettings struct {
LocalAddr wgcfg.CIDR // TODO: why is this here? how does it differ from wgcfg.Config's info?
DNS []net.IP
DNS []wgcfg.IP
DNSDomains []string
Cfg *wgcfg.Config
}