projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] firewall: introduce SNAT support for redirect sections
[openwrt.git]
/
package
/
firewall
/
files
/
reflection.hotplug
diff --git
a/package/firewall/files/reflection.hotplug
b/package/firewall/files/reflection.hotplug
index
6b1cd60
..
027d2ed
100644
(file)
--- a/
package/firewall/files/reflection.hotplug
+++ b/
package/firewall/files/reflection.hotplug
@@
-41,7
+41,10
@@
if [ "$ACTION" = "add" ] && [ "$INTERFACE" = "wan" ]; then
local src
config_get src "$cfg" src
- [ "$src" = wan ] && {
+ local target
+ config_get target "$cfg" target DNAT
+
+ [ "$src" = wan ] && [ "$target" = DNAT ] && {
local dest
config_get dest "$cfg" dest "lan"
This page took
0.025875 seconds
and
4
git commands to generate.