mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
iptables: fix param check in append_csv function
This commit is contained in:
parent
855bf75709
commit
801e895f62
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ def append_param(rule, param, flag, is_list):
|
|||
|
||||
|
||||
def append_csv(rule, param, flag):
|
||||
if param is not None:
|
||||
if param:
|
||||
rule.extend([flag, ','.join(param)])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue