Added some additional comments
This commit is contained in:
1 parent
1c3df21d18
commit
ba0db4ce91
2 files changed
+10
-2
No files matched your search
@@ -725,6 +725,12 @@ func loadConfig() (*config, error) {
|
||||
)
|
||||
}
|
||||
|
||||
if cfg.UpnpSupport && cfg.NatPmp {
|
||||
str := "%s: Currently both Upnp and NAT-PMP cannot be " +
|
||||
"enabled together"
|
||||
return nil, fmt.Errorf(str, funcName)
|
||||
}
|
||||
|
||||
// Append the network type to the log directory so it is "namespaced"
|
||||
// per network in the same fashion as the data directory.
|
||||
cfg.LogDir = filepath.Join(cfg.LogDir,
|
||||
|
||||
Reference in new issue
Block a user