TUN-7356: Bump golang.org/x/net package to 0.7.0

This commit is contained in:
Devin Carr
2023-04-07 09:41:23 -07:00
parent 55ed995bf0
commit 69eb9698b5
165 changed files with 1377 additions and 943 deletions

View File

@@ -369,7 +369,7 @@ func generateNonce() (nonce []byte) {
return
}
// removeZone removes IPv6 zone identifer from host.
// removeZone removes IPv6 zone identifier from host.
// E.g., "[fe80::1%en0]:8080" to "[fe80::1]:8080"
func removeZone(host string) string {
if !strings.HasPrefix(host, "[") {