Skip to content

Commit 440ef87

Browse files
fix: correct comment for PortRangeMax in CreateOpts to specify ICMP code
1 parent f1cabac commit 440ef87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • openstack/networking/v2/extensions/security/rules

openstack/networking/v2/extensions/security/rules/requests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ type CreateOpts struct {
125125

126126
// The maximum port number in the range that is matched by the security group
127127
// rule. The PortRangeMin attribute constrains the PortRangeMax attribute. If
128-
// the protocol is ICMP, this value must be an ICMP type.
128+
// the protocol is ICMP, this value must be an ICMP code.
129129
PortRangeMax int `json:"port_range_max,omitempty"`
130130

131131
// The minimum port number in the range that is matched by the security group

0 commit comments

Comments
 (0)