wgengine: unexport some windows funcs

This commit is contained in:
Brad Fitzpatrick
2020-04-05 08:14:55 -07:00
parent b446de103a
commit 50aeb5b9ad
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ func (r *winRouter) Up() error {
// MonitorDefaultRoutes handles making sure our wireguard UDP
// traffic goes through the old route, not recursively through the VPN.
var err error
r.routeChangeCallback, err = MonitorDefaultRoutes(r.wgdev, true, r.nativeTun)
r.routeChangeCallback, err = monitorDefaultRoutes(r.wgdev, true, r.nativeTun)
if err != nil {
log.Fatalf("MonitorDefaultRoutes: %v\n", err)
}
@@ -48,7 +48,7 @@ func (r *winRouter) Up() error {
}
func (r *winRouter) SetRoutes(rs RouteSettings) error {
err := ConfigureInterface(rs.Cfg, r.nativeTun, rs.DNS, rs.DNSDomains)
err := configureInterface(rs.Cfg, r.nativeTun, rs.DNS, rs.DNSDomains)
if err != nil {
r.logf("ConfigureInterface: %v\n", err)
return err