mirror of https://github.com/caddyserver/caddy.git
Move PrivateRangesCIDR() back: add a pass-through function (#6514)
This commit is contained in:
parent
7cf8376e63
commit
3a48b03369
|
@ -128,3 +128,10 @@ var (
|
|||
_ caddyfile.Unmarshaler = (*StaticIPRange)(nil)
|
||||
_ IPRangeSource = (*StaticIPRange)(nil)
|
||||
)
|
||||
|
||||
// PrivateRangesCIDR returns a list of private CIDR range
|
||||
// strings, which can be used as a configuration shortcut.
|
||||
// Note: this function is used at least by mholt/caddy-l4.
|
||||
func PrivateRangesCIDR() []string {
|
||||
return internal.PrivateRangesCIDR()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue