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