Skip to content

Commit

Permalink
v4.6.3
Browse files Browse the repository at this point in the history
1.修复初始安装后,「策略路由」页面无法打开的问题。
2.修复正则表达式使用中的符号错误。
3.更新运营商 IP 地址数据文件。
  • Loading branch information
larsonzh authored Sep 25, 2024
1 parent 7e2abbf commit a884397
Show file tree
Hide file tree
Showing 19 changed files with 52 additions and 42 deletions.
4 changes: 2 additions & 2 deletions source_codes/install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# install.sh v4.6.2
# install.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

# LZ RULE script for Asuswrt-Merlin Router
Expand All @@ -11,7 +11,7 @@

#BEGIN

LZ_VERSION=v4.6.2
LZ_VERSION=v4.6.3
TIMEOUT=10
CURRENT_PATH="${0%/*}"
[ "${CURRENT_PATH:0:1}" != '/' ] && CURRENT_PATH="$( pwd )${CURRENT_PATH#*.}"
Expand Down
5 changes: 5 additions & 0 deletions source_codes/lz/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v4.6.3 (2024/9/26)
1.修复初始安装后,「策略路由」页面无法打开的问题。
2.修复正则表达式使用中的符号错误。
3.更新运营商 IP 地址数据文件。

v4.6.2 (2024/9/17)
1.修复 bug 及优化代码。

Expand Down
2 changes: 1 addition & 1 deletion source_codes/lz/configs/lz_rule_config.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_rule_config.sh v4.6.2
# lz_rule_config.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

# 本软件采用CIDR(无类别域间路由,Classless Inter-Domain Routing)技术,是一个在Internet上创建附加地
Expand Down
5 changes: 5 additions & 0 deletions source_codes/lz/data/lz_hk_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
45.116.130.0/24
45.116.144.0/22
45.116.164.0/22
45.116.212.0/22
45.117.96.0/22
45.117.192.0/22
45.119.0.0/21
Expand Down Expand Up @@ -599,6 +600,7 @@
103.56.112.0/21
103.56.192.0/22
103.56.216.0/22
103.57.24.0/22
103.57.90.0/24
103.57.228.0/22
103.58.182.0/23
Expand Down Expand Up @@ -1307,6 +1309,7 @@
103.233.248.0/21
103.234.8.0/22
103.234.52.0/22
103.234.60.0/22
103.234.72.0/22
103.234.96.0/22
103.234.140.0/22
Expand Down Expand Up @@ -1636,6 +1639,7 @@
148.66.0.0/19
148.66.48.0/20
150.107.0.0/22
150.107.36.0/22
150.107.44.0/22
150.129.32.0/22
150.129.40.0/22
Expand Down Expand Up @@ -1679,6 +1683,7 @@
160.30.94.0/24
160.30.96.0/23
160.30.128.0/23
160.187.92.0/23
160.202.44.0/22
160.202.56.0/22
160.238.84.0/22
Expand Down
3 changes: 3 additions & 0 deletions source_codes/lz/data/lz_othernet_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@
103.40.88.0/22
103.40.100.0/22
103.40.158.0/23
103.40.174.0/23
103.40.220.0/22
103.40.228.0/22
103.40.232.0/21
Expand Down Expand Up @@ -1916,6 +1917,7 @@
103.196.96.0/22
103.196.168.0/22
103.196.204.0/22
103.197.0.0/22
103.197.180.0/22
103.197.228.0/22
103.198.20.0/22
Expand Down Expand Up @@ -2666,6 +2668,7 @@
123.62.0.0/16
123.99.128.0/17
123.100.0.0/19
123.108.88.0/23
123.108.128.0/20
123.108.208.0/20
123.137.0.0/16
Expand Down
4 changes: 2 additions & 2 deletions source_codes/lz/data/lz_tw_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@
103.103.80.0/22
103.103.128.0/22
103.104.148.0/22
103.106.52.0/22
103.112.48.0/22
103.115.108.0/23
103.116.14.0/23
Expand Down Expand Up @@ -222,7 +221,6 @@
103.131.252.0/22
103.132.156.0/22
103.133.44.0/22
103.133.152.0/22
103.134.80.0/22
103.134.120.0/22
103.135.16.0/21
Expand Down Expand Up @@ -521,6 +519,8 @@
160.30.78.0/23
160.30.98.0/23
160.30.210.0/23
160.187.72.0/23
160.187.100.0/23
163.13.0.0/16
163.14.0.0/15
163.16.0.0/12
Expand Down
3 changes: 0 additions & 3 deletions source_codes/lz/data/lz_unicom_cnc_cidr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@
103.38.40.0/22
103.39.88.0/22
103.40.12.0/22
103.40.174.0/23
103.40.192.0/22
103.40.212.0/22
103.43.100.0/22
Expand Down Expand Up @@ -276,7 +275,6 @@
103.192.132.0/22
103.192.188.0/22
103.192.212.0/22
103.197.0.0/22
103.203.168.0/22
103.204.72.0/22
103.204.136.0/22
Expand Down Expand Up @@ -469,7 +467,6 @@
123.8.0.0/13
123.58.240.0/20
123.98.0.0/17
123.108.88.0/23
123.112.0.0/12
123.128.0.0/13
123.138.0.0/15
Expand Down
2 changes: 1 addition & 1 deletion source_codes/lz/func/lz_clear_custom_scripts_data.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_clear_custom_scripts_data.sh v4.6.2
# lz_clear_custom_scripts_data.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

## 清除用户自定义脚本数据
Expand Down
2 changes: 1 addition & 1 deletion source_codes/lz/func/lz_define_global_variables.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_define_global_variables.sh v4.6.2
# lz_define_global_variables.sh v4.6.3
# By LZ 妙妙呜 ([email protected])
# QnkgTFog5aaZ5aaZ5ZGc77yI6Juk6J+G5aKp5YS/77yJ(首次运行标识,切勿修改)

Expand Down
8 changes: 4 additions & 4 deletions source_codes/lz/func/lz_initialize_config.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_initialize_config.sh v4.6.2
# lz_initialize_config.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

## 初始化脚本配置
Expand Down Expand Up @@ -1555,7 +1555,7 @@ lz_get_config_data() {
## 全局常量及变量
## 返回值:无
lz_full_data_backup() {
eval "$( echo "${param_list}" | awk '/^[[:alnum:]_]\+$/ {print "echo lz_config_"$1"=\$\{local_"$1"\}"}' )" > "${PATH_CONFIGS}/lz_rule_config.box"
eval "$( echo "${param_list}" | awk '/^[[:alnum:]_]+$/ {print "echo lz_config_"$1"=\$\{local_"$1"\}"}' )" > "${PATH_CONFIGS}/lz_rule_config.box"
chmod 775 "${PATH_CONFIGS}/lz_rule_config.box" > /dev/null 2>&1
}

Expand Down Expand Up @@ -2114,7 +2114,7 @@ lz_variable_initialize
lz_init_cfg_data

## 获取重新安装标识
local_reinstall="$( grep -c 'QnkgTFog5aaZ5aaZ5ZGc77yI6Juk6J[\+]G5aKp5YS[\/]77yJ' "${PATH_FUNC}/lz_define_global_variables.sh" )"
local_reinstall="$( grep -wc 'QnkgTFog5aaZ5aaZ5ZGc77yI6Juk6J[+]G5aKp5YS[\/]77yJ' "${PATH_FUNC}/lz_define_global_variables.sh" )"

## 新安装的脚本,更新主运行脚本和脚本配置文件中初始缺省的路径数据
if [ "${local_reinstall}" -gt "0" ] && [ "${PATH_LZ}" != "/jffs/scripts/lz" ]; then
Expand Down Expand Up @@ -2320,7 +2320,7 @@ lz_restore_to_rn "${1}"

if [ "${local_reinstall}" -gt "0" ]; then
## 删除重新安装标识
sed -i "/QnkgTFog5aaZ5aaZ5ZGc77yI6Juk6J+G5aKp5YS\/77yJ/d" "${PATH_FUNC}/lz_define_global_variables.sh" > /dev/null 2>&1
sed -i "/QnkgTFog5aaZ5aaZ5ZGc77yI6Juk6J[+]G5aKp5YS[\/]77yJ/d" "${PATH_FUNC}/lz_define_global_variables.sh" > /dev/null 2>&1
fi

## 生成并传递软件的配置参数
Expand Down
10 changes: 5 additions & 5 deletions source_codes/lz/func/lz_rule_address_query.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_rule_address_query.sh v4.6.2
# lz_rule_address_query.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

## 网址信息查询脚本
Expand Down Expand Up @@ -1182,9 +1182,9 @@ lz_query_address() {
ipset -q flush lz_aq_ispip_tmp_sets
## 第一WAN口的DNS解析服务器网址
eval "$( nvram get "wan0_dns" | awk 'NF >= "1" {
if ($1 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ && $1 !~ /^127[\.]0\+[\.]0\+[\.]0*1$/ && $1 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
if ($1 !~ /^0+[\.]0+[\.]0+[\.]0+$/ && $1 !~ /^127[\.]0+[\.]0+[\.]0*1$/ && $1 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
print "ipset -q add lz_aq_ispip_tmp_sets "$1;
if ($2 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ && $2 !~ /^127[\.]0\+[\.]0\+[\.]0*1$/ && $2 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
if ($2 !~ /^0+[\.]0+[\.]0+[\.]0+$/ && $2 !~ /^127[\.]0+[\.]0+[\.]0*1$/ && $2 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
print "ipset -q add lz_aq_ispip_tmp_sets "$2;
exit;
}' )"
Expand All @@ -1205,9 +1205,9 @@ lz_query_address() {
ipset -q flush lz_aq_ispip_tmp_sets
## 第二WAN口的DNS解析服务器网址
eval "$( nvram get "wan1_dns" | awk 'NF >= "1" {
if ($1 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ && $1 !~ /^127[\.]0\+[\.]0\+[\.]0*1$/ && $1 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
if ($1 !~ /^0+[\.]0+[\.]0+[\.]0+$/ && $1 !~ /^127[\.]0+[\.]0+[\.]0*1$/ && $1 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
print "ipset -q add lz_aq_ispip_tmp_sets "$1;
if ($2 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ && $2 !~ /^127[\.]0\+[\.]0\+[\.]0*1$/ && $2 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
if ($2 !~ /^0+[\.]0+[\.]0+[\.]0+$/ && $2 !~ /^127[\.]0+[\.]0+[\.]0*1$/ && $2 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
print "ipset -q add lz_aq_ispip_tmp_sets "$2;
exit;
}' )"
Expand Down
26 changes: 13 additions & 13 deletions source_codes/lz/func/lz_rule_func.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_rule_func.sh v4.6.2
# lz_rule_func.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

#BEGIN
Expand Down Expand Up @@ -124,14 +124,14 @@ lz_print_src_to_dst_port_ipv4_address_list() {
## 总有效条目数
lz_get_ipv4_data_file_item_total() {
local retval="0"
[ -s "${1}" ] && retval="$( lz_print_ipv4_address_list "${1}" | awk 'NF >= "1" {
[ -s "${1}" ] && retval="$( lz_print_ipv4_address_list "${1}" | awk -v count="0" 'NF >= "1" {
if ($1 != "0.0.0.0/0")
count++;
else {
count=1;
exit;
}
} END{print count}' )"
} END{print count;}' )"
echo "${retval}"
}

Expand Down Expand Up @@ -3301,16 +3301,16 @@ lz_initialize_ip_data_policy() {
## 获取WAN口的DNS解析服务器网址
local local_ifip_wan0_dns1="" local_ifip_wan0_dns2="" local_ifip_wan1_dns1="" local_ifip_wan1_dns2=""
eval "$( nvram get "wan0_dns" | awk 'NF >= "1" {
if ($1 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ && $1 !~ /^127[\.]0\+[\.]0\+[\.]0*1$/ && $1 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
if ($1 !~ /^0+[\.]0+[\.]0+[\.]0+$/ && $1 !~ /^127[\.]0+[\.]0+[\.]0*1$/ && $1 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
print "local_ifip_wan0_dns1="$1;
if ($2 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ && $2 !~ /^127[\.]0\+[\.]0\+[\.]0*1$/ && $2 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
if ($2 !~ /^0+[\.]0+[\.]0+[\.]0+$/ && $2 !~ /^127[\.]0+[\.]0+[\.]0*1$/ && $2 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
print "local_ifip_wan0_dns2="$2;
exit;
}' )"
eval "$( nvram get "wan1_dns" | awk 'NF >= "1" {
if ($1 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ && $1 !~ /^127[\.]0\+[\.]0\+[\.]0*1$/ && $1 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
if ($1 !~ /^0+[\.]0+[\.]0+[\.]0+$/ && $1 !~ /^127[\.]0+[\.]0+[\.]0*1$/ && $1 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
print "local_ifip_wan1_dns1="$1;
if ($2 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ && $2 !~ /^127[\.]0\+[\.]0\+[\.]0*1$/ && $2 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
if ($2 !~ /^0+[\.]0+[\.]0+[\.]0+$/ && $2 !~ /^127[\.]0+[\.]0+[\.]0*1$/ && $2 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}([\/][0-9]{1,2})?$/)
print "local_ifip_wan1_dns2="$2;
exit;
}' )"
Expand Down Expand Up @@ -3617,16 +3617,16 @@ lz_proxy_route_support() {
ip rule add from "${line}" to "0.0.0.0" table "${wan_no}" prio "${IP_RULE_PRIO_TOPEST}" > /dev/null 2>&1
else
if [ "${dn_pre_resolved}" = "0" ]; then
nslookup "${line}" 2> /dev/null | awk 'NR > 4 && $3 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}$/ && $3 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ \
nslookup "${line}" 2> /dev/null | awk 'NR > 4 && $3 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}$/ && $3 !~ /^0+[\.]0+[\.]0+[\.]0+$/ \
{system("ip rule add from 0.0.0.0 to "$3"'" table ${wan_no} prio ${IP_RULE_PRIO_TOPEST} > /dev/null 2>&1; ip rule add from "'"$3"'" to 0.0.0.0 table ${wan_no} prio ${IP_RULE_PRIO_TOPEST} > /dev/null 2>&1"'")}'
elif [ "${dn_pre_resolved}" = "1" ]; then
[ "${pre_dns_enable}" = "0" ] \
&& nslookup "${line}" "${pre_dns}" 2> /dev/null | awk 'NR > 4 && $3 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}$/ && $3 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ \
&& nslookup "${line}" "${pre_dns}" 2> /dev/null | awk 'NR > 4 && $3 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}$/ && $3 !~ /^0+[\.]0+[\.]0+[\.]0+$/ \
{system("ip rule add from 0.0.0.0 to "$3"'" table ${wan_no} prio ${IP_RULE_PRIO_TOPEST} > /dev/null 2>&1; ip rule add from "'"$3"'" to 0.0.0.0 table ${wan_no} prio ${IP_RULE_PRIO_TOPEST} > /dev/null 2>&1"'")}'
elif [ "${dn_pre_resolved}" = "2" ]; then
node_list="$( nslookup "${line}" 2> /dev/null | awk 'NR > 4 && $3 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}$/ && $3 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ {print $3}' )"
node_list="$( nslookup "${line}" 2> /dev/null | awk 'NR > 4 && $3 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}$/ && $3 !~ /^0+[\.]0+[\.]0+[\.]0+$/ {print $3}' )"
[ "${pre_dns_enable}" = "0" ] \
&& eval "$( nslookup "${line}" "${pre_dns}" 2> /dev/null | awk 'NR > 4 && $3 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}$/ && $3 !~ /^0\+[\.]0\+[\.]0\+[\.]0\+$/ \
&& eval "$( nslookup "${line}" "${pre_dns}" 2> /dev/null | awk 'NR > 4 && $3 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}$/ && $3 !~ /^0+[\.]0+[\.]0+[\.]0+$/ \
{printf "node_list=\"\$\( echo \"\${node_list}\" \| sed -e \"\\\$a %s\" -e \"\/\^[[:space:]]\*\$\/d\" \)\"\n", $3}' )"
echo "${node_list}" | awk '$1 ~ /^([0-9]{1,3}[\.]){3}[0-9]{1,3}$/ && !i[$1]++ \
{system("ip rule add from 0.0.0.0 to "$1"'" table ${wan_no} prio ${IP_RULE_PRIO_TOPEST} > /dev/null 2>&1; ip rule add from "'"$1"'" to 0.0.0.0 table ${wan_no} prio ${IP_RULE_PRIO_TOPEST} > /dev/null 2>&1"'")}'
Expand Down Expand Up @@ -5004,7 +5004,7 @@ lz_add_dual_ip_rules() {
## 返回值:无
lz_add_src_to_dst_sets_ip_rules() {
if [ -z "${1}" ] || [ ! -s "${2}" ]; then return; fi;
{ echo "${1}" | grep -qEw '0\+[\.]0\+[\.]0\+[\.]0\+[\/]0\+' || echo "${1}" | grep -qEw '0\+[\.]0\+[\.]0\+[\.]0\+' \
{ echo "${1}" | grep -qEw '0+[\.]0+[\.]0+[\.]0+[\/]0+' || echo "${1}" | grep -qEw '0+[\.]0+[\.]0+[\.]0+' \
|| [ "${1}" = "${route_local_ip}" ]; } && return
local box_addr="${1}"
[ "${box_addr}" = "${route_local_subnet}" ] && box_addr="${route_static_subnet}"
Expand All @@ -5021,7 +5021,7 @@ lz_add_src_to_dst_sets_ip_rules() {
## 返回值:无
lz_add_src_sets_to_dst_ip_rules() {
if [ ! -s "${1}" ] || [ -z "${2}" ]; then return; fi;
{ echo "${2}" | grep -qEw '0\+[\.]0\+[\.]0\+[\.]0\+[\/]0\+' || echo "${2}" | grep -qEw '0\+[\.]0\+[\.]0\+[\.]0\+' \
{ echo "${2}" | grep -qEw '0+[\.]0+[\.]0+[\.]0+[\/]0+' || echo "${2}" | grep -qEw '0+[\.]0+[\.]0+[\.]0+' \
|| [ "${2}" = "${route_local_ip}" ]; } && return
local box_addr="${2}"
[ "${box_addr}" = "${route_local_subnet}" ] && box_addr="${route_static_subnet}"
Expand Down
2 changes: 1 addition & 1 deletion source_codes/lz/func/lz_rule_status.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_rule_status.sh v4.6.2
# lz_rule_status.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

## 显示脚本运行状态脚本
Expand Down
4 changes: 2 additions & 2 deletions source_codes/lz/func/lz_vpn_daemon.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_vpn_daemon.sh v4.6.2
# lz_vpn_daemon.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

## 虚拟专网客户端路由刷新处理后台守护进程脚本
Expand All @@ -10,7 +10,7 @@
#BEGIN

## 版本号
LZ_VERSION=v4.6.2
LZ_VERSION=v4.6.3

## 项目接口文件部署路径
PATH_INTERFACE="${0%/*}"
Expand Down
2 changes: 1 addition & 1 deletion source_codes/lz/interface/lz_rule_service.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_rule_service.sh v4.6.2
# lz_rule_service.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

## 服务接口脚本
Expand Down
2 changes: 1 addition & 1 deletion source_codes/lz/js/lz_policy_routing.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
# lz_policy_routing.js v4.6.2
# lz_policy_routing.js v4.6.3
# By LZ 妙妙呜 ([email protected])
# LZ JavaScript for Asuswrt-Merlin Router
Expand Down
4 changes: 2 additions & 2 deletions source_codes/lz/lz_rule.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# lz_rule.sh v4.6.2
# lz_rule.sh v4.6.3
# By LZ 妙妙呜 ([email protected])

# 本软件采用CIDR(无类别域间路由,Classless Inter-Domain Routing)技术,是一个在Internet上创建附加地
Expand Down Expand Up @@ -86,7 +86,7 @@
## -------------全局数据定义及初始化-------------------

## 版本号
LZ_VERSION=v4.6.2
LZ_VERSION=v4.6.3

## 运行状态查询命令
SHOW_STATUS="status"
Expand Down
4 changes: 2 additions & 2 deletions source_codes/lz/uninstall.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# uninstall.sh v4.6.2
# uninstall.sh v4.6.3
# By LZ ([email protected])

# LZ RULE script for Asuswrt-Merlin Router
Expand All @@ -8,7 +8,7 @@

#BEGIN

LZ_VERSION=v4.6.2
LZ_VERSION=v4.6.3
TIMEOUT=10
CURRENT_PATH="${0%/*}"
[ "${CURRENT_PATH:0:1}" != '/' ] && CURRENT_PATH="$( pwd )${CURRENT_PATH#*.}"
Expand Down
2 changes: 1 addition & 1 deletion source_codes/lz/webs/LZ_Policy_Routing_Content.asp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
url: '/ext/lzr/LZRGlobal.html',
dataType: 'text',
success: function(response) {
// v4.6.2
// v4.6.3
retVal = (response.match(/QnkgTFog5aaZ5aaZ5ZGc77yI6Juk6J[\+]G5aKp5YS[\/]77yJ/m) != null) ? true : false;
}
});
Expand Down

0 comments on commit a884397

Please sign in to comment.