mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-31 07:19:16 +02:00
enable ipv6 grpc routing (#692)
This commit is contained in:
parent
41855e5419
commit
f5a9bad3d6
1 changed files with 2 additions and 1 deletions
|
@ -101,12 +101,13 @@ func buildAddress(hostport string, defaultPort int) *envoy_config_core_v3.Addres
|
|||
port = defaultPort
|
||||
}
|
||||
if host == "" {
|
||||
host = "0.0.0.0"
|
||||
host = "::"
|
||||
}
|
||||
return &envoy_config_core_v3.Address{
|
||||
Address: &envoy_config_core_v3.Address_SocketAddress{SocketAddress: &envoy_config_core_v3.SocketAddress{
|
||||
Address: host,
|
||||
PortSpecifier: &envoy_config_core_v3.SocketAddress_PortValue{PortValue: uint32(port)},
|
||||
Ipv4Compat: true,
|
||||
}},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue