projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bc38d3
)
[backfire] merge r22908
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 4 Sep 2010 17:49:49 +0000
(17:49 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 4 Sep 2010 17:49:49 +0000
(17:49 +0000)
SVN-Revision: 22909
package/firewall/files/reflection.hotplug
patch
|
blob
|
history
diff --git
a/package/firewall/files/reflection.hotplug
b/package/firewall/files/reflection.hotplug
index dc6780a720053d2da4af69371485915995817b06..6b1cd60f2857b6f97ff9b32c6d8dc9b5e6fc1082 100644
(file)
--- a/
package/firewall/files/reflection.hotplug
+++ b/
package/firewall/files/reflection.hotplug
@@
-53,6
+53,10
@@
if [ "$ACTION" = "add" ] && [ "$INTERFACE" = "wan" ]; then
local proto
config_get proto "$cfg" proto
+ local reflection
+ config_get_bool reflection "$cfg" reflection 1
+ [ "$reflection" == 1 ] || return
+
local epmin epmax extport
config_get extport "$cfg" src_dport
[ -n "$extport" ] || return