From 9972c51a9f497f43a5069eadbadd539519033544 Mon Sep 17 00:00:00 2001 From: Joseph Mory Date: Tue, 30 Jul 2024 14:34:25 +0000 Subject: [PATCH] fix the issue that wan6 inbound exclusion doesn't work --- luci-app-mihomo/Makefile | 2 +- mihomo/Makefile | 2 +- mihomo/files/mihomo.init | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/luci-app-mihomo/Makefile b/luci-app-mihomo/Makefile index 8516ca9e5..09657abb4 100644 --- a/luci-app-mihomo/Makefile +++ b/luci-app-mihomo/Makefile @@ -1,6 +1,6 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=1.3.0 +PKG_VERSION:=1.3.1 LUCI_TITLE:=LuCI Support for mihomo LUCI_DEPENDS:=+luci-base +mihomo diff --git a/mihomo/Makefile b/mihomo/Makefile index c2b1a5ea9..f2e1962ab 100644 --- a/mihomo/Makefile +++ b/mihomo/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mihomo PKG_VERSION:=1.18.7 -PKG_RELEASE:=140 +PKG_RELEASE:=141 PKG_BUILD_TIME=$(shell date -u -Iseconds) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/mihomo/files/mihomo.init b/mihomo/files/mihomo.init index 52930e866..298fbfaca 100644 --- a/mihomo/files/mihomo.init +++ b/mihomo/files/mihomo.init @@ -566,6 +566,7 @@ add_acl_mac6() { } add_wan_inbound_exclusion() { + config_load mihomo config_list_foreach "proxy" "wan_interfaces" do_add_wan_inbound_exclusion } @@ -681,6 +682,7 @@ add_upnp_exclusion() { } add_wan6_inbound_exclusion() { + config_load mihomo config_list_foreach "proxy" "wan6_interfaces" do_add_wan6_inbound_exclusion }