✨ HTTP 内网穿透
This commit is contained in:
+2
-2
@@ -55,9 +55,9 @@ var (
|
||||
)
|
||||
|
||||
// UpdateIP 按设置时间间隔更新IP地址与国家码的缓存
|
||||
func UpdateIP(logging bool, useIPv6CountryCode bool, period uint32) {
|
||||
func UpdateIP(useIPv6CountryCode bool, period uint32) {
|
||||
for {
|
||||
util.Println(logging, "NEZHA_AGENT>> 正在更新本地缓存IP信息")
|
||||
util.Println(agentConfig.Debug, "正在更新本地缓存IP信息")
|
||||
var primaryIP, secondaryIP geoIP
|
||||
if useIPv6CountryCode {
|
||||
primaryIP = fetchGeoIP(geoIPApiList, true)
|
||||
|
||||
Reference in New Issue
Block a user