projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772fe7f
)
Fixed a typo in firewall scripts, closes #4000
author
Steven Barth
<cyrus@openwrt.org>
Mon, 15 Sep 2008 18:57:39 +0000
(18:57 +0000)
committer
Steven Barth
<cyrus@openwrt.org>
Mon, 15 Sep 2008 18:57:39 +0000
(18:57 +0000)
SVN-Revision: 12613
package/firewall/files/uci_firewall.sh
patch
|
blob
|
history
diff --git
a/package/firewall/files/uci_firewall.sh
b/package/firewall/files/uci_firewall.sh
index 0ce878b7f7f11f306e5ec899019a5bd7b055895c..85af805b7e27df75010f1aa2af24555a6fb5cf1f 100755
(executable)
--- a/
package/firewall/files/uci_firewall.sh
+++ b/
package/firewall/files/uci_firewall.sh
@@
-251,7
+251,7
@@
fw_redirect() {
[ "$src_dport_first" -ne "$src_dport_last" ] && { \
src_dport="$src_dport_first:$src_dport_last"; }
- dest
port2=dest
port
+ dest
_port2=$dest_
port
dest_port_first=${dest_port2%-*}
dest_port_last=${dest_port2#*-}
[ "$dest_port_first" -ne "$dest_port_last" ] && { \