aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/reverseproxy/caddyfile.go
diff options
context:
space:
mode:
authorOmar Ramadan <[email protected]>2023-07-25 21:50:21 +0300
committerGitHub <[email protected]>2023-07-25 12:50:21 -0600
commitd7d16360d41159a3bea772c36e795bab31503897 (patch)
treec84f44348909ae7b0283118b74e4dfc76eb1222c /modules/caddyhttp/reverseproxy/caddyfile.go
parent4df27a20c8f1b16eaba11799a7e0e650950ef408 (diff)
downloadcaddy-d7d16360d41159a3bea772c36e795bab31503897.tar.gz
caddy-d7d16360d41159a3bea772c36e795bab31503897.zip
reverseproxy: Export ipVersions type (#5648)
allows AUpstreams to be instantiated externally
Diffstat (limited to 'modules/caddyhttp/reverseproxy/caddyfile.go')
-rw-r--r--modules/caddyhttp/reverseproxy/caddyfile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/caddyfile.go b/modules/caddyhttp/reverseproxy/caddyfile.go
index 26dd55c93..1d86bebd7 100644
--- a/modules/caddyhttp/reverseproxy/caddyfile.go
+++ b/modules/caddyhttp/reverseproxy/caddyfile.go
@@ -1449,7 +1449,7 @@ func (u *AUpstreams) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
}
if u.Versions == nil {
- u.Versions = &ipVersions{}
+ u.Versions = &IPVersions{}
}
trueBool := true