diff --git a/package/lean/luci-app-ssr-plus/Makefile b/package/lean/luci-app-ssr-plus/Makefile index 9f54245d4..59528a72d 100644 --- a/package/lean/luci-app-ssr-plus/Makefile +++ b/package/lean/luci-app-ssr-plus/Makefile @@ -1,8 +1,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-ssr-plus -PKG_VERSION:=174 -PKG_RELEASE:=10 +PKG_VERSION:=175 +PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr b/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr index a6487bd18..f932fd216 100755 --- a/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr +++ b/package/lean/luci-app-ssr-plus/root/etc/init.d/shadowsocksr @@ -232,7 +232,7 @@ start_rules() { else netflix="0" fi - netflix_ip=$(check_host $(uci_get_by_name $NETFLIX_SERVER server)) + netflix_ip=$(check_host $(uci_get_by_name $NETFLIX_SERVER server 127.0.0.1)) /usr/bin/ssr-rules \ -s "$server" \ -l "$local_port" \ diff --git a/package/lean/luci-app-ssr-plus/root/usr/bin/ssr-rules b/package/lean/luci-app-ssr-plus/root/usr/bin/ssr-rules index b752c58ac..0279d926a 100755 --- a/package/lean/luci-app-ssr-plus/root/usr/bin/ssr-rules +++ b/package/lean/luci-app-ssr-plus/root/usr/bin/ssr-rules @@ -75,7 +75,6 @@ flush_r() { ipset -X whitelist 2>/dev/null ipset -X blacklist 2>/dev/null ipset -X netflix 2>/dev/null - ipset -X china 2>/dev/null [ -n "$FWI" ] && echo '#!/bin/sh' >$FWI return 0 }