From 16d17d287f9b2e29ed7869dfc9f8674410c0a421 Mon Sep 17 00:00:00 2001 From: Daniel Vigueras Date: Mon, 18 Jan 2016 16:11:13 +0100 Subject: [PATCH] iptables: fix param check in append_csv function --- system/iptables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/iptables.py b/system/iptables.py index 2b71e1f9380..4ed53b6e6c9 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)])