Implement review suggestions

This commit is contained in:
Daniel
2020-04-30 16:29:32 +02:00
parent b91b8fcdc9
commit 0030a43cab

View File

@@ -257,7 +257,7 @@ Examples:
err = config.Register(&config.Option{
Name: "Block Scope Local",
Key: CfgOptionBlockScopeLocalKey,
Description: "Block connections internally on own device, ie. localhost.",
Description: "Block internal connections on your own device, ie. localhost.",
Order: cfgOptionBlockScopeLocalOrder,
OptType: config.OptTypeInt,
ExpertiseLevel: config.ExpertiseLevelExpert,
@@ -279,7 +279,7 @@ Examples:
Order: cfgOptionBlockScopeLANOrder,
OptType: config.OptTypeInt,
ExternalOptType: "security level",
DefaultValue: status.SecurityLevelsNormalAndExtreme,
DefaultValue: status.SecurityLevelsHighAndExtreme,
ValidationRegex: "^(0|4|6|7)$",
})
if err != nil {