diff options
author | Daniel Vigueras <dvigueras@doalitic.com> | 2016-01-18 16:11:13 +0100 |
---|---|---|
committer | Daniel Vigueras <dvigueras@doalitic.com> | 2016-01-18 16:11:13 +0100 |
commit | 16d17d287f9b2e29ed7869dfc9f8674410c0a421 (patch) | |
tree | 721498ff2ea020d5bc003f86dfea58875a039532 /system | |
parent | 570869ef48ec0bcdc9c2138e89bc77a3fe59282a (diff) | |
download | ansible-modules-extras-16d17d287f9b2e29ed7869dfc9f8674410c0a421.tar.gz |
iptables: fix param check in append_csv function
Diffstat (limited to 'system')
-rw-r--r-- | system/iptables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/iptables.py b/system/iptables.py index 2b71e1f9..4ed53b6e 100644 --- a/system/iptables.py +++ b/system/iptables.py @@ -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)]) |