aboutsummaryrefslogtreecommitdiff
path: root/hotline/field.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2025-06-29 17:49:35 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2025-06-29 17:49:35 -0700
commitd2e125bd255e807aa4d374b23eb9c2bb02fe63a3 (patch)
tree47001fcf1450533bcade51a6d1d847ad388a6847 /hotline/field.go
parent9b6866c80820d22f623a70a8afa0ddf12ada7b0d (diff)
Fix IPv6 address parsing in IP extraction
Replace string splitting with net.SplitHostPort to properly handle both IPv4 and IPv6 addresses. Fixes issue where IPv6 addresses like [::1]:8080 were incorrectly parsed as "[" instead of "::1".
Diffstat (limited to 'hotline/field.go')
0 files changed, 0 insertions, 0 deletions