Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MayCXC/caddy
Browse files Browse the repository at this point in the history
  • Loading branch information
MayCXC committed Sep 17, 2024
2 parents 1c6d71e + 5c1d633 commit ed87db6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions listeners.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ func IsFdNetwork(netw string) bool {
}

// normally we would simply append the port,
// but if lnHost is IPv6, we need to ensure it
// but if host is IPv6, we need to ensure it
// is enclosed in [ ]; net.JoinHostPort does
// this for us, but lnHost might also have a
// this for us, but host might also have a
// network type in front (e.g. "tcp/") leading
// to "[tcp/::1]" which causes parsing failures
// later; what we need is "tcp/[::1]", so we have
Expand Down

0 comments on commit ed87db6

Please sign in to comment.