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

SVN-Revision: 28535
This commit is contained in:
Jo-Philipp Wich 2011-10-23 12:25:57 +00:00
parent 69df551be3
commit 204bf6e5fe
2 changed files with 3 additions and 2 deletions

View file

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

View file

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