mirror of https://github.com/hashicorp/consul
Fix mesh gateways incorrectly matching peer locality. (#16257)
Fix mesh gateways incorrectly matching peer locality. This fixes an issue where local mesh gateways use an incorrect address when attempting to forward traffic to a peered datacenter. Prior to this change it would use the lan address instead of the wan if the locality matched. This should never be done for peering, since we must route all traffic through the remote mesh gateway.pull/16292/head
parent
c5e729e865
commit
30112288c8
@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
peering: Fix issue where mesh gateways would use the wrong address when contacting a remote peer with the same datacenter name.
|
||||
```
|
Loading…
Reference in new issue