new: add chain support & fix warp bug
This commit is contained in:
@@ -162,11 +162,8 @@ func generateWarp(license string, host string, port uint16, fakePackets string)
|
||||
if host == "auto" && fakePackets == "" {
|
||||
fakePackets = "5-10"
|
||||
}
|
||||
if host == "default" || host == "random" || host == "auto" {
|
||||
host = getRandomIP()
|
||||
}
|
||||
if port == 0 {
|
||||
port = generateRandomPort()
|
||||
if _, err := os.Stat("./wgcf-identity.json"); err == nil {
|
||||
os.Remove("./wgcf-identity.json")
|
||||
}
|
||||
|
||||
if !warp.CheckProfileExists(license) {
|
||||
|
||||
Reference in New Issue
Block a user