We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cd70d9 commit 9d03671Copy full SHA for 9d03671
support/network/ip-resolver.go
@@ -47,7 +47,7 @@ func resolvePublicIP(resolverURL string) string {
47
// extractIPFromCloudflareTrace extracts public IP from Cloudflare trace
48
// response
49
func extractIPFromCloudflareTrace(data string) string {
50
- for i := 0; i < 16; i++ {
+ for i := range 16 {
51
f := strutil.ReadField(data, i, false, '\n')
52
53
if f == "" {
0 commit comments