iptables: fix param check in append_csv function

This commit is contained in:
Daniel Vigueras 2016-01-18 16:11:13 +01:00 committed by Matt Clay
parent 855bf75709
commit 801e895f62

View file

@ -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)])