diff --git a/mobile/envoy b/mobile/envoy index 689bd37806ef..7f3e8a85ff1d 160000 --- a/mobile/envoy +++ b/mobile/envoy @@ -1 +1 @@ -Subproject commit 689bd37806efb3e8bba3feccc1bc09a8e3270d4a +Subproject commit 7f3e8a85ff1dbc3f3aec54dad7b5450aa53a98cd diff --git a/mobile/library/common/network/BUILD b/mobile/library/common/network/BUILD index 8c297125d711..fa8348afb4e0 100644 --- a/mobile/library/common/network/BUILD +++ b/mobile/library/common/network/BUILD @@ -8,5 +8,8 @@ envoy_cc_library( name = "synthetic_address_lib", hdrs = ["synthetic_address_impl.h"], repository = "@envoy", - deps = ["@envoy//include/envoy/network:address_interface"], + deps = [ + "@envoy//include/envoy/network:address_interface", + "@envoy//source/common/network:socket_interface_lib", + ], ) diff --git a/mobile/library/common/network/synthetic_address_impl.h b/mobile/library/common/network/synthetic_address_impl.h index a0a092dbdcfd..27d87c6317dc 100644 --- a/mobile/library/common/network/synthetic_address_impl.h +++ b/mobile/library/common/network/synthetic_address_impl.h @@ -4,6 +4,8 @@ #include "envoy/network/address.h" +#include "common/network/socket_interface.h" + namespace Envoy { namespace Network { namespace Address { @@ -44,7 +46,7 @@ class SyntheticAddressImpl : public Instance { return Type::Ip; } - const std::string& socketInterface() const { return address_; } + const SocketInterface& socketInterface() const { return SocketInterfaceSingleton::get(); } private: const std::string address_{"synthetic"};