[package] firewall: prevent ip6tables -t nat rules (#10265)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28535 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jo-Philipp Wich 2011-10-23 12:25:57 +00:00
parent d9ac523b00
commit 3dfbfb9eeb
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=firewall PKG_NAME:=firewall
PKG_VERSION:=2 PKG_VERSION:=2
PKG_RELEASE:=38 PKG_RELEASE:=39
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -74,7 +74,8 @@ fw__exec() { # <action> <family> <table> <chain> <target> <position> { <rules> }
fw__rc $(($? & 1)) fw__rc $(($? & 1))
return return
fi fi
fw__rc 0 [ "$app" != ip6tables ] || [ "$tab" != nat ]
fw__rc $?
} }
fw__err() { fw__err() {