Allow any protocol for reflection rules
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 10 Oct 2013 19:38:57 +0000 (19:38 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 10 Oct 2013 19:38:57 +0000 (19:38 +0000)
redirects.c

index bb5e1ff1c79dd967b172b091e16ed8087cd91926..c76d84894290ec3184a690312f0eeab3f108ab7c 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)