mirror of
https://github.com/p1neappleXpress/OpenFlux.git
synced 2026-10-02 05:04:39 +08:00
checkpoint before PR42
This commit is contained in:
@@ -56,3 +56,7 @@ oflx
|
||||
oflx-new
|
||||
deploy.sh
|
||||
go.mod.bak
|
||||
a/
|
||||
stats.txt
|
||||
watch_stats.sh
|
||||
*.log
|
||||
|
||||
+4
-1
@@ -9,7 +9,7 @@ import (
|
||||
"openflux/transport"
|
||||
)
|
||||
|
||||
var errTUNUnsupported = errors.New("utun L3 client is only supported on macOS")
|
||||
var errTUNUnsupported = errors.New("utun client is only supported on macOS")
|
||||
|
||||
type TUNClient struct{}
|
||||
|
||||
@@ -23,6 +23,9 @@ func (c *TUNClient) SetupInterface() error { return errTUNUnsupported }
|
||||
func (c *TUNClient) ConfigureDefault() error { return errTUNUnsupported }
|
||||
func (c *TUNClient) Start() {}
|
||||
func (c *TUNClient) Close() error { return nil }
|
||||
func (c *TUNClient) SaveDefault() error { return errTUNUnsupported }
|
||||
func (c *TUNClient) RestoreDefault() {}
|
||||
func (c *TUNClient) purgeStaleHostRoutes() {}
|
||||
|
||||
type SocketWatcher struct{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user