luci-app-ssr-plus: fix game plus mode

This commit is contained in:
lean 2020-03-27 16:56:59 +08:00
parent 77b85a3e18
commit 08b73fa42d
3 changed files with 3 additions and 4 deletions

View File

@ -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)

View File

@ -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" \

View File

@ -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
}