diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-09-10 07:15:36 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-09-10 07:15:36 -0600 |
commit | d67d8cf5a88d3635148b2e58205c9d3bb630243c (patch) | |
tree | 46068e04faaf6c927c02feaffea0f032064a760c /modules/caddyhttp | |
parent | 44b7ce98505ab8a34f6c632e661dd2cfae475a17 (diff) |
Fix build (sigh)
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go index 42f7a5a..dc38b19 100644 --- a/modules/caddyhttp/server.go +++ b/modules/caddyhttp/server.go @@ -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) |