mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-14 06:30:59 +00:00
Fixed deletion of nft chains.
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ruantiblock
|
||||
PKG_VERSION:=2.1.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_MAINTAINER:=gSpot <https://github.com/gSpotx2f/ruantiblock_openwrt>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@@ -604,10 +604,10 @@ AddNftRules() {
|
||||
}
|
||||
|
||||
DeleteNftRules() {
|
||||
NftInstanceDelete " "
|
||||
DeleteUserInstancesNftRules
|
||||
NftDeleteActionChains
|
||||
NftDeleteBaseChains
|
||||
NftInstanceDelete " "
|
||||
DeleteUserInstancesNftRules
|
||||
if [ "$PROXY_MODE" = "2" ]; then
|
||||
NftRouteDelete $VPN_ROUTE_TABLE_ID_START 2> /dev/null
|
||||
elif [ "$PROXY_MODE" = "3" -a "$T_PROXY_TYPE" = "1" ]; then
|
||||
|
||||
Reference in New Issue
Block a user