projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] firewall: properly unset position for delete command, fixes rule removal...
[openwrt/svn-archive/archive.git]
/
package
/
firewall
/
files
/
lib
/
fw.sh
diff --git
a/package/firewall/files/lib/fw.sh
b/package/firewall/files/lib/fw.sh
index c06e8642364223d529f9ad8f15d4bd442113a12c..72aa37c5bfa47df4409d5b27ac1f73f1a1536e94 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