mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
Make Interface Config map
This commit is contained in:
parent
a90e7648db
commit
914f1c1ae3
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
package definitions
|
||||
|
||||
type Network struct {
|
||||
Interfaces []Interface `json:"interfaces" validate:"required,dive"`
|
||||
Interfaces map[string]Interface `json:"interfaces" validate:"required,dive"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue