mirror of
https://github.com/oneclickvirt/ecs.git
synced 2025-12-24 12:37:53 +08:00
v0.1.8 - 在存在IPV6信息时修复排版缺少一个换行符
This commit is contained in:
2
goecs.go
2
goecs.go
@@ -39,7 +39,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
ecsVersion = "v0.1.7"
|
||||
ecsVersion = "v0.1.8"
|
||||
menuMode bool
|
||||
onlyChinaTest bool
|
||||
input, choice string
|
||||
|
||||
4
goecs.sh
4
goecs.sh
@@ -168,8 +168,8 @@ goecs_check() {
|
||||
sleep 1
|
||||
done
|
||||
if [ -z "$ECS_VERSION" ]; then
|
||||
_yellow "Unable to get version info, using default version 0.1.7"
|
||||
ECS_VERSION="0.1.7"
|
||||
_yellow "Unable to get version info, using default version 0.1.8"
|
||||
ECS_VERSION="0.1.8"
|
||||
fi
|
||||
# Check if original goecs command exists
|
||||
version_output=""
|
||||
|
||||
@@ -153,6 +153,7 @@ func BasicsAndSecurityCheck(language, nt3CheckType string, securtyCheckStatus bo
|
||||
basicInfo := systemInfo + ipInfo
|
||||
if errv6 == nil && ipv6Info != "" {
|
||||
basicInfo += ipv6Info
|
||||
basicInfo += "\n"
|
||||
}
|
||||
if strings.Contains(ipInfo, "IPV4") && strings.Contains(ipInfo, "IPV6") {
|
||||
uts.IPV4 = true
|
||||
|
||||
Reference in New Issue
Block a user