Skip to content

Commit

Permalink
iptables: Add a note about ipv6-icmp (ansible#70915)
Browse files Browse the repository at this point in the history
ipv6-icmp ping is valid protocol and adding note about
it in protocol parameter.

Fixes: ansible#70905

Signed-off-by: Abhijeet Kasurde <[email protected]>
  • Loading branch information
Akasurde authored Jul 30, 2020
1 parent 54e2ae7 commit e139739
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/70905_iptables_ipv6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- iptables - add a note about ipv6-icmp in protocol parameter (https://github.com/ansible/ansible/issues/70905).
4 changes: 2 additions & 2 deletions lib/ansible/modules/iptables.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
protocol:
description:
- The protocol of the rule or of the packet to check.
- The specified protocol can be one of C(tcp), C(udp), C(udplite), C(icmp), C(esp),
C(ah), C(sctp) or the special keyword C(all), or it can be a numeric value,
- The specified protocol can be one of C(tcp), C(udp), C(udplite), C(icmp), C(ipv6-icmp) or C(icmpv6),
C(esp), C(ah), C(sctp) or the special keyword C(all), or it can be a numeric value,
representing one of these protocols or a different one.
- A protocol name from I(/etc/protocols) is also allowed.
- A C(!) argument before the protocol inverts the test.
Expand Down

0 comments on commit e139739

Please sign in to comment.