Fix example in iptables module (#54906)
In the documentation the rule_num parameter works only in conjunction with `action` set to `insert` - fix the example with the rule_num parameter. +label: docsite_pr
This commit is contained in:
parent
098e0afbd5
commit
fa21e0c3db
1 changed files with 1 additions and 0 deletions
|
@ -399,6 +399,7 @@ EXAMPLES = r'''
|
||||||
protocol: tcp
|
protocol: tcp
|
||||||
destination_port: 8080
|
destination_port: 8080
|
||||||
jump: ACCEPT
|
jump: ACCEPT
|
||||||
|
action: insert
|
||||||
rule_num: 5
|
rule_num: 5
|
||||||
|
|
||||||
- name: Set the policy for the INPUT chain to DROP
|
- name: Set the policy for the INPUT chain to DROP
|
||||||
|
|
Loading…
Reference in a new issue