v1.7.7
~适配部分网件NETGEAR固件设备 ~修复部分情况下测试菜单查看防火墙规则时ipv6规则显示缺失的问题 ~修复首次自定义网段时出现报错的问题 ~修复小米官方固件不能正确加载本机hosts的问题 ~修复偶尔无法正常保存面板节点的问题
This commit is contained in:
@@ -667,7 +667,7 @@ setfirewall(){
|
||||
*)
|
||||
if [ -n "$(echo $text | grep -Eo '^([0-9]{1,3}\.){3}[0-9]{1,3}/[0-9]{1,2}'$)" -a -z "$(echo $cust_host_ipv4 | grep "$text")" ];then
|
||||
cust_host_ipv4="$cust_host_ipv4 $text"
|
||||
setconfig cust_host_ipv4 "\'$cust_host_ipv4\'"
|
||||
setconfig cust_host_ipv4 "'$cust_host_ipv4'"
|
||||
else
|
||||
echo -----------------------------------------------
|
||||
echo -e "\033[31m请输入正确的网段地址!\033[0m"
|
||||
|
||||
Reference in New Issue
Block a user