diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-01 11:50:48 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-01 11:50:48 +0000 |
commit | 600a8517ad0af17a501b6d59a4becbfe28373681 (patch) | |
tree | 7175f8173f1f6cb403d872ff2c8084e21d6edcc2 /package/firewall | |
parent | df14a48dc9c9d48b65f669e4b8e7307e571eeddf (diff) | |
download | upstream-600a8517ad0af17a501b6d59a4becbfe28373681.tar.gz upstream-600a8517ad0af17a501b6d59a4becbfe28373681.tar.bz2 upstream-600a8517ad0af17a501b6d59a4becbfe28373681.zip |
firewall: fix port range quirk in previous commit
SVN-Revision: 27335
Diffstat (limited to 'package/firewall')
-rw-r--r-- | package/firewall/files/reflection.hotplug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/firewall/files/reflection.hotplug b/package/firewall/files/reflection.hotplug index 7ab4c5fe81..15e350082a 100644 --- 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" |