From 111a3264af479d96edb4283cf397a6ba283ba19b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 10 Oct 2013 19:38:57 +0000 Subject: [PATCH] Allow any protocol for reflection rules --- redirects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redirects.c b/redirects.c index bb5e1ff..c76d848 100644 --- a/redirects.c +++ b/redirects.c @@ -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) -- 2.25.1