projects
/
oweals
/
firewall3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224d93a
)
Allow any protocol for reflection rules
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 10 Oct 2013 19:38:57 +0000
(19:38 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 10 Oct 2013 19:38:57 +0000
(19:38 +0000)
redirects.c
patch
|
blob
|
history
diff --git
a/redirects.c
b/redirects.c
index bb5e1ff1c79dd967b172b091e16ed8087cd91926..c76d84894290ec3184a690312f0eeab3f108ab7c 100644
(file)
--- 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)