Merge pull request #1514 from doalitic/iptables-fix-append_csv

iptables: fix param check in append_csv function
reviewable/pr18780/r1
Brian Coca 9 years ago
commit 98eeb689ce

@ -238,7 +238,7 @@ def append_param(rule, param, flag, is_list):
def append_csv(rule, param, flag): def append_csv(rule, param, flag):
if param is not None: if param:
rule.extend([flag, ','.join(param)]) rule.extend([flag, ','.join(param)])

Loading…
Cancel
Save