Launch
This commit is contained in:
15
internal/platformtun/wintun_other.go
Normal file
15
internal/platformtun/wintun_other.go
Normal file
@@ -0,0 +1,15 @@
|
||||
//go:build !windows
|
||||
|
||||
package platformtun
|
||||
|
||||
import "strings"
|
||||
|
||||
type Logger interface {
|
||||
Add(level, format string, args ...any)
|
||||
}
|
||||
|
||||
func Prepare(device, interfaceName string, mtu int, logger Logger) (string, string, func(), error) {
|
||||
device = strings.TrimSpace(device)
|
||||
interfaceName = strings.TrimSpace(interfaceName)
|
||||
return device, interfaceName, nil, nil
|
||||
}
|
||||
Reference in New Issue
Block a user