Skip to content

Commit

Permalink
Add window interface stub
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Oct 27, 2021
1 parent ff3292c commit 2b11da2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pkg/edgevpn/interface_windows.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// +build windows

package edgevpn

import "github.com/songgao/water"

func (e *EdgeVPN) prepareInterface() error {

return nil
}

func (e *EdgeVPN) createInterface() (*water.Interface, error) {
config := water.Config{
DeviceType: e.config.DeviceType,
}

return water.New(config)
}

0 comments on commit 2b11da2

Please sign in to comment.