Skip to content

Commit

Permalink
fix(panos_ipsec_ipv4_proxyid): Fix IPv4 ProxyID proto parameter (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesholland-uk authored Feb 6, 2023
1 parent f1d2b13 commit a07edad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/modules/panos_ipsec_ipv4_proxyid.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@
default: '192.168.1.0/24'
any_protocol:
description:
- Any protocol boolean
- Any protocol boolean. If this parameter is set to `true`, the `number_proto` parameter must not be specified.
type: bool
default: True
number_proto:
description:
- Numbered Protocol; protocol number (1-254)
- Numbered Protocol; protocol number (1-254). This parameter must be specified if `any_protocol` is set to `false`.
type: int
tcp_local_port:
description:
Expand Down Expand Up @@ -121,7 +121,7 @@ def main():
local=dict(default="192.168.2.0/24"),
remote=dict(default="192.168.1.0/24"),
any_protocol=dict(type="bool", default=True),
number_proto=dict(type="int"),
number_proto=dict(type="int", sdk_param="number_protocol"),
tcp_local_port=dict(type="int"),
tcp_remote_port=dict(type="int"),
udp_local_port=dict(type="int"),
Expand Down

0 comments on commit a07edad

Please sign in to comment.