diff options
Diffstat (limited to 'package/firewall/files/lib')
-rw-r--r-- | package/firewall/files/lib/fw.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/firewall/files/lib/fw.sh b/package/firewall/files/lib/fw.sh index c06e86423..72aa37c5b 100644 --- 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 == delete ]; then + pos= fi fi while [ $# -gt 1 ]; do |