From 16d17d287f9b2e29ed7869dfc9f8674410c0a421 Mon Sep 17 00:00:00 2001 From: Daniel Vigueras Date: Mon, 18 Jan 2016 16:11:13 +0100 Subject: iptables: fix param check in append_csv function --- system/iptables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') 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)]) -- cgit v1.2.1