projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b0bfd
)
[package] firewall: properly unset position for delete command, fixes rule removal...
author
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 5 May 2010 15:50:21 +0000
(15:50 +0000)
committer
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 5 May 2010 15:50:21 +0000
(15:50 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21378
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/firewall/files/lib/fw.sh
patch
|
blob
|
history
diff --git
a/package/firewall/files/lib/fw.sh
b/package/firewall/files/lib/fw.sh
index
c06e864
..
72aa37c
100644
(file)
--- a/
package/firewall/files/lib/fw.sh
+++ b/
package/firewall/files/lib/fw.sh
@@
-150,8
+150,8
@@
fw__exec() { # <action> <family> <table> <chain> <target> <position> { <rules> }
if [ $# -gt 0 ]; then
shift
- if [ $cmd == del ]; then
- pos=
-
+ if [ $cmd == del
ete
]; then
+ pos=
fi
fi
while [ $# -gt 1 ]; do