fix #76 , ipv6 有时会在vs运行后才获得.

This commit is contained in:
e1732a364fed
2022-05-12 13:06:31 +08:00
parent 4e1b98bf91
commit 908f11e2cf
3 changed files with 7 additions and 7 deletions

View File

@@ -241,7 +241,7 @@ func mainFunc() (result int) {
return -1
}
netLayer.Prepare()
//netLayer.PrepareInterfaces() //发现有时, ipv6不是程序刚运行时就有的, 所以不应默认 预读网卡。主要是 openwrt等设备 在使用 DHCPv6 获取ipv6 等情况时。
fmt.Printf("Log Level:%d\n", utils.LogLevel)