mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-12-29 00:30:30 +01:00
Do the netprobe even in offline mode
This is likely to be required at least on Windows.
This commit is contained in:
parent
bcaf0bca96
commit
94cf37dacf
@ -469,10 +469,10 @@ func ConfigLoad(proxy *Proxy, svcFlag *string) error {
|
||||
proxy.listenAddresses = nil
|
||||
}
|
||||
dlog.Noticef("dnscrypt-proxy %s", AppVersion)
|
||||
if err := NetProbe(netprobeAddress, netprobeTimeout); err != nil {
|
||||
return err
|
||||
}
|
||||
if !config.OfflineMode {
|
||||
if err := NetProbe(netprobeAddress, netprobeTimeout); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := config.loadSources(proxy); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user