diff --git a/unifi/firewall_policy.go b/unifi/firewall_policy.go index 1619a4f..272ac7b 100644 --- a/unifi/firewall_policy.go +++ b/unifi/firewall_policy.go @@ -7,7 +7,7 @@ import ( type FirewallDestination struct { IPGroupID string `json:"ip_group_id"` - IPs []string `json:"ips"` + IPs []string `json:"ips,omitempty"` MatchOppositeIPs bool `json:"match_opposite_ips"` MatchOppositePorts bool `json:"match_opposite_ports"` MatchingTarget string `json:"matching_target"`