Allow any protocol for reflection rules
[project/firewall3.git] / redirects.c
index bb5e1ff..c76d848 100644 (file)
@@ -653,7 +653,7 @@ expand_redirect(struct fw3_ipt_handle *handle, struct fw3_state *state,
 
                        fw3_foreach(proto, &redir->proto)
                        {
-                               if (!proto || (proto->protocol != 6 && proto->protocol != 17))
+                               if (!proto)
                                        continue;
 
                                if (redir->reflection_src == FW3_REFLECTION_INTERNAL)