mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Rename Address Group Constant
This commit is contained in:
parent
b09875fd85
commit
16a9fec479
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ const (
|
|||
Host AddressType = iota
|
||||
Range
|
||||
Network
|
||||
Group
|
||||
AddressGroup
|
||||
)
|
||||
|
||||
func (t AddressType) String() string {
|
||||
|
@ -33,7 +33,7 @@ func (t *AddressType) FromString(input string) AddressType {
|
|||
"host": Host,
|
||||
"range": Range,
|
||||
"network": Network,
|
||||
"group": Group,
|
||||
"group": AddressGroup,
|
||||
}[input]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue