projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c54425
)
[package] firewall: fix port range quirk in previous commit
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 1 Jul 2011 11:50:48 +0000
(11:50 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 1 Jul 2011 11:50:48 +0000
(11:50 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27335
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/firewall/files/reflection.hotplug
patch
|
blob
|
history
diff --git
a/package/firewall/files/reflection.hotplug
b/package/firewall/files/reflection.hotplug
index
7ab4c5f
..
15e3500
100644
(file)
--- a/
package/firewall/files/reflection.hotplug
+++ b/
package/firewall/files/reflection.hotplug
@@
-71,13
+71,13
@@
if [ "$ACTION" = "add" ] && [ "$INTERFACE" = "wan" ]; then
[ -n "$extport" ] || return
epmin="${extport%[-:]*}"; epmax="${extport#*[-:]}"
- [ "$
epmin
" != "$epmax" ] || epmax=""
+ [ "$
{epmin#!}
" != "$epmax" ] || epmax=""
local ipmin ipmax intport
config_get intport "$cfg" dest_port "$extport"
ipmin="${intport%[-:]*}"; ipmax="${intport#*[-:]}"
- [ "$
ipmin
" != "$ipmax" ] || ipmax=""
+ [ "$
{ipmin#!}
" != "$ipmax" ] || ipmax=""
local exthost
config_get exthost "$cfg" src_dip "$wanip"