[package] firewall: prevent ip6tables -t nat rules (#10265)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28535 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
d9ac523b00
commit
3dfbfb9eeb
|
@ -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
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue