mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
make dhcp server reservations map and required
This commit is contained in:
parent
22b6faad79
commit
e71625ae8f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ type DHCPv4Server struct {
|
|||
NTPServerMode Mode `json:"ntp_server_mode"`
|
||||
NTPServers *[]string `json:"ntp_servers,omitempty"`
|
||||
|
||||
Reservations []Reservation `json:"reservations,omitempty"`
|
||||
Reservations map[string]Reservation `json:"reservations"`
|
||||
|
||||
Comment string `json:"comment,omitempty"`
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue