Add auto_route and auto_detect_interface for linux
This commit is contained in:
13
common/iffmonitor/monitor_other.go
Normal file
13
common/iffmonitor/monitor_other.go
Normal file
@@ -0,0 +1,13 @@
|
||||
//go:build !linux
|
||||
|
||||
package iffmonitor
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/sagernet/sing-box/log"
|
||||
)
|
||||
|
||||
func New(logger log.Logger) (InterfaceMonitor, error) {
|
||||
return nil, os.ErrInvalid
|
||||
}
|
||||
Reference in New Issue
Block a user