mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Add stackable annotation to endpoint rules
This commit is contained in:
parent
49c3f54949
commit
c0509042a0
1 changed files with 2 additions and 0 deletions
|
@ -186,6 +186,7 @@ Examples:
|
||||||
OptType: config.OptTypeStringArray,
|
OptType: config.OptTypeStringArray,
|
||||||
DefaultValue: []string{},
|
DefaultValue: []string{},
|
||||||
Annotations: config.Annotations{
|
Annotations: config.Annotations{
|
||||||
|
config.StackableAnnotation: true,
|
||||||
config.DisplayHintAnnotation: endpoints.DisplayHintEndpointList,
|
config.DisplayHintAnnotation: endpoints.DisplayHintEndpointList,
|
||||||
config.DisplayOrderAnnotation: cfgOptionEndpointsOrder,
|
config.DisplayOrderAnnotation: cfgOptionEndpointsOrder,
|
||||||
config.CategoryAnnotation: "Rules",
|
config.CategoryAnnotation: "Rules",
|
||||||
|
@ -207,6 +208,7 @@ Examples:
|
||||||
OptType: config.OptTypeStringArray,
|
OptType: config.OptTypeStringArray,
|
||||||
DefaultValue: []string{"+ Localhost"},
|
DefaultValue: []string{"+ Localhost"},
|
||||||
Annotations: config.Annotations{
|
Annotations: config.Annotations{
|
||||||
|
config.StackableAnnotation: true,
|
||||||
config.DisplayHintAnnotation: endpoints.DisplayHintEndpointList,
|
config.DisplayHintAnnotation: endpoints.DisplayHintEndpointList,
|
||||||
config.DisplayOrderAnnotation: cfgOptionServiceEndpointsOrder,
|
config.DisplayOrderAnnotation: cfgOptionServiceEndpointsOrder,
|
||||||
config.CategoryAnnotation: "Rules",
|
config.CategoryAnnotation: "Rules",
|
||||||
|
|
Loading…
Add table
Reference in a new issue