chore: log level should be setting after launched
This commit is contained in:
parent
10f8f5dd7b
commit
850c52d07c
1 changed files with 0 additions and 1 deletions
|
@ -288,7 +288,6 @@ func updateSniffer(sniffer *config.Sniffer) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateGeneral(general *config.General, force bool) {
|
func updateGeneral(general *config.General, force bool) {
|
||||||
log.SetLevel(general.LogLevel)
|
|
||||||
tunnel.SetMode(general.Mode)
|
tunnel.SetMode(general.Mode)
|
||||||
tunnel.SetAlwaysFindProcess(general.EnableProcess)
|
tunnel.SetAlwaysFindProcess(general.EnableProcess)
|
||||||
dialer.DisableIPv6 = !general.IPv6
|
dialer.DisableIPv6 = !general.IPv6
|
||||||
|
|
Loading…
Reference in a new issue