From b06ac438e07abda2076062be3cd0947c7220b39d Mon Sep 17 00:00:00 2001 From: Seth Malaki Date: Sat, 4 May 2024 09:25:28 +0100 Subject: [PATCH] update addressProvider => connectionInfoProvider --- source/extensions/filters/listener/original_dst/original_dst.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/extensions/filters/listener/original_dst/original_dst.cc b/source/extensions/filters/listener/original_dst/original_dst.cc index bac55da1005b..2d7aaae45f01 100644 --- a/source/extensions/filters/listener/original_dst/original_dst.cc +++ b/source/extensions/filters/listener/original_dst/original_dst.cc @@ -27,7 +27,7 @@ Network::FilterStatus OriginalDstFilter::onAccept(Network::ListenerFilterCallbac Network::Address::InstanceConstSharedPtr original_local_address; if (Network::Utility::isTransparent(socket)) { - original_local_address = socket.addressProvider().localAddress(); + original_local_address = socket.connectionInfoProvider().localAddress() } else { original_local_address = getOriginalDst(socket); }