Skip to content

Commit

Permalink
fix the issue that wan6 inbound exclusion doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
morytyann committed Jul 30, 2024
1 parent 257a64d commit 9972c51
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion luci-app-mihomo/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion mihomo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mihomo/files/mihomo.init
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 9972c51

Please sign in to comment.