Skip to content

Commit 6bffbdd

Browse files
committed
chore: ignore ipv6 check when get interface addrs failed
1 parent cfdaebe commit 6bffbdd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

config/utils.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ func verifyIP6() bool {
155155
}
156156
}
157157
}
158+
} else {
159+
// eg: Calling net.InterfaceAddrs() fails on Android SDK 30
160+
// https://github.com/golang/go/issues/40569
161+
return true // just ignore
158162
}
159163
return false
160164
}

0 commit comments

Comments
 (0)