Skip to content

Commit

Permalink
Improve network scope filter options
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Apr 30, 2020
1 parent 20e836b commit 0cf10b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions profile/config.go
Expand Up @@ -257,9 +257,10 @@ Examples:
err = config.Register(&config.Option{
Name: "Block Scope Local",
Key: CfgOptionBlockScopeLocalKey,
Description: "Block connections to your own device, ie. localhost.",
Description: "Block connections internally on own device, ie. localhost.",
Order: cfgOptionBlockScopeLocalOrder,
OptType: config.OptTypeInt,
ExpertiseLevel: config.ExpertiseLevelExpert,
ExternalOptType: "security level",
DefaultValue: status.SecurityLevelOff,
ValidationRegex: "^(0|4|6|7)$",
Expand All @@ -278,7 +279,7 @@ Examples:
Order: cfgOptionBlockScopeLANOrder,
OptType: config.OptTypeInt,
ExternalOptType: "security level",
DefaultValue: status.SecurityLevelOff,
DefaultValue: status.SecurityLevelsNormalAndExtreme,
ValidationRegex: "^(0|4|6|7)$",
})
if err != nil {
Expand Down

0 comments on commit 0cf10b6

Please sign in to comment.