From 4fd0a7672777f0ed15692ae2ba47838208537558 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 27 Nov 2022 00:42:16 +0100 Subject: Update dependencies (#1929) --- vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go') diff --git a/vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go b/vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go index 61f80522..dae75172 100644 --- a/vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go +++ b/vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go @@ -747,6 +747,11 @@ func init() { continue } + // https://gitlab.com/cznic/libc/-/issues/25 + if strings.Index(fields[1], "/") < 0 { + continue + } + name := fields[0] portproto := strings.SplitN(fields[1], "/", 2) port, err := strconv.ParseInt(portproto[0], 10, 32) -- cgit v1.2.3