From ea2fd78e6a1b1bf74d589241fc553a841adc660f Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 3 Nov 2015 12:03:00 -0500 Subject: [PATCH] fixed default from None to [] for ctstate --- system/iptables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/iptables.py b/system/iptables.py index 29010b730e5..e78295cc291 100644 --- a/system/iptables.py +++ b/system/iptables.py @@ -313,7 +313,7 @@ def main(): destination_port=dict(required=False, default=None, type='str'), to_ports=dict(required=False, default=None, type='str'), comment=dict(required=False, default=None, type='str'), - ctstate=dict(required=False, default=None, type='list'), + ctstate=dict(required=False, default=[], type='list'), ), ) args = dict(