Skip to content

Commit

Permalink
making emptiness of DUID and MAC address explicit (omitempty option)
Browse files Browse the repository at this point in the history
  • Loading branch information
skudriavtsev committed Nov 18, 2021
1 parent b4e0498 commit e3e0817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ type HostRecordIpv4Addr struct {
IBBase `json:"-"`
Ipv4Addr string `json:"ipv4addr,omitempty"`
Ref string `json:"_ref,omitempty"`
Mac string `json:"mac,omitempty"`
Mac string `json:"mac"`
View string `json:"view,omitempty"`
Cidr string `json:"network,omitempty"`
EnableDhcp bool `json:"configure_for_dhcp"`
Expand Down Expand Up @@ -636,7 +636,7 @@ type HostRecordIpv6Addr struct {
IBBase `json:"-"`
Ipv6Addr string `json:"ipv6addr,omitempty"`
Ref string `json:"_ref,omitempty"`
Duid string `json:"duid,omitempty"`
Duid string `json:"duid"`
View string `json:"view,omitempty"`
Cidr string `json:"network,omitempty"`
EnableDhcp bool `json:"configure_for_dhcp"`
Expand Down

0 comments on commit e3e0817

Please sign in to comment.