Added some additional comments

This commit is contained in:
John Griffith authored and Wilmer Paulino committed 2018-06-12 18:32:47 -07:00
1 parent 1c3df21d18
commit ba0db4ce91
2 files changed
+10 -2

No files matched your search

+6
View File
@@ -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,