mirror of
https://github.com/caddyserver/caddy.git
synced 2025-12-08 06:09:53 +00:00
only match reserved netws
This commit is contained in:
parent
ceb5cd1e5d
commit
6d30d65fb2
1 changed files with 4 additions and 0 deletions
|
|
@ -393,6 +393,10 @@ func (st *ServerType) listenersForServerBlockAddress(sblock serverBlock, addr Ad
|
|||
continue
|
||||
}
|
||||
|
||||
if caddy.IsReservedNetwork(lnNetw) {
|
||||
continue
|
||||
}
|
||||
|
||||
lnIfaceAddresses = append(lnIfaceAddresses, ifaceAddress.String())
|
||||
}
|
||||
if len(lnIfaceAddresses) == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue