Use `net.JoinHostPort()` which count IPv6 literals in `host`, instead of relying on `net.ParseIP(host).To4()` side effects. Signed-off-by: Vladimir Varankin <nek.narqo@gmail.com> |
||
|---|---|---|
| .. | ||
| filters | ||
| kernel | ||
| operatingsystem | ||
| parsers.go | ||
| parsers_test.go | ||
Use `net.JoinHostPort()` which count IPv6 literals in `host`, instead of relying on `net.ParseIP(host).To4()` side effects. Signed-off-by: Vladimir Varankin <nek.narqo@gmail.com> |
||
|---|---|---|
| .. | ||
| filters | ||
| kernel | ||
| operatingsystem | ||
| parsers.go | ||
| parsers_test.go | ||