Skip to content

Commit

Permalink
Fix build (sigh)
Browse files Browse the repository at this point in the history
  • Loading branch information
mholt committed Sep 10, 2019
1 parent 44b7ce9 commit d67d8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/caddyhttp/server.go
Expand Up @@ -187,7 +187,7 @@ func (s *Server) listenersUseAnyPortOtherThan(otherPort int) bool {
// listeners in s that use otherPort.
func (s *Server) listenersIncludePort(otherPort int) bool {
for _, lnAddr := range s.Listen {
_, addrs, err := caddy.ParseListenAddr(lnAddr)
_, addrs, err := caddy.ParseNetworkAddress(lnAddr)
if err == nil {
for _, a := range addrs {
_, port, err := net.SplitHostPort(a)
Expand Down

0 comments on commit d67d8cf

Please sign in to comment.