mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 17:04:42 +02:00
[backfire] merge r22908
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22909 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
80f33c889e
commit
f359382ede
@ -53,6 +53,10 @@ if [ "$ACTION" = "add" ] && [ "$INTERFACE" = "wan" ]; then
|
|||||||
local proto
|
local proto
|
||||||
config_get proto "$cfg" proto
|
config_get proto "$cfg" proto
|
||||||
|
|
||||||
|
local reflection
|
||||||
|
config_get_bool reflection "$cfg" reflection 1
|
||||||
|
[ "$reflection" == 1 ] || return
|
||||||
|
|
||||||
local epmin epmax extport
|
local epmin epmax extport
|
||||||
config_get extport "$cfg" src_dport
|
config_get extport "$cfg" src_dport
|
||||||
[ -n "$extport" ] || return
|
[ -n "$extport" ] || return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user