From 7092118119af79003ec8ce15312c723046c730ce Mon Sep 17 00:00:00 2001 From: Pavel Samokha <pas@rusaksoft.com> Date: Fri, 13 May 2016 16:49:58 +0300 Subject: [PATCH] fix icmp-type --- system/iptables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/iptables.py b/system/iptables.py index 98ce0137938..4373a7a5e21 100644 --- a/system/iptables.py +++ b/system/iptables.py @@ -347,7 +347,7 @@ def construct_rule(params): append_param(rule, params['uid_owner'], '--uid-owner', False) append_jump(rule, params['reject_with'], 'REJECT') append_param(rule, params['reject_with'], '--reject-with', False) - append_param(rule, params['icmp_type'], '--icmp_type', False) + append_param(rule, params['icmp_type'], '--icmp-type', False) return rule