projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] firewall:
[openwrt/svn-archive/archive.git]
/
package
/
firewall
/
files
/
reflection.hotplug
diff --git
a/package/firewall/files/reflection.hotplug
b/package/firewall/files/reflection.hotplug
index af88fe0243fdb2e550b3837d87d7d85323b9da1c..dc6780a720053d2da4af69371485915995817b06 100644
(file)
--- a/
package/firewall/files/reflection.hotplug
+++ b/
package/firewall/files/reflection.hotplug
@@
-2,7
+2,7
@@
. /etc/functions.sh
. /etc/functions.sh
-if [ "$ACTION" = "
ifup
" ] && [ "$INTERFACE" = "wan" ]; then
+if [ "$ACTION" = "
add
" ] && [ "$INTERFACE" = "wan" ]; then
local wanip=$(uci -P/var/state get network.wan.ipaddr)
iptables -t nat -F nat_reflection_in 2>/dev/null || {
local wanip=$(uci -P/var/state get network.wan.ipaddr)
iptables -t nat -F nat_reflection_in 2>/dev/null || {