feat: RESTful API support disable sniffer
This commit is contained in:
@ -119,6 +119,8 @@ func GetGeneral() *config.General {
|
||||
IPv6: !resolver.DisableIPv6,
|
||||
GeodataLoader: G.LoaderName(),
|
||||
Tun: P.GetTunConf(),
|
||||
Interface: dialer.DefaultInterface.Load(),
|
||||
Sniffing: tunnel.IsSniffing(),
|
||||
}
|
||||
|
||||
return general
|
||||
|
Reference in New Issue
Block a user