From 6b2357bed7f46c8ed448d7446fce4637f322dca5 Mon Sep 17 00:00:00 2001 From: Jose Ulises Nino Rivera Date: Wed, 12 Aug 2020 18:20:30 -0700 Subject: [PATCH] update envoy: 7f3e8a85ff1dbc3f3aec54dad7b5450aa53a98cd (#1030) update envoy: 7f3e8a85ff1dbc3f3aec54dad7b5450aa53a98cd Signed-off-by: Jose Nino Signed-off-by: JP Simard --- mobile/envoy | 2 +- mobile/library/common/network/BUILD | 5 ++++- mobile/library/common/network/synthetic_address_impl.h | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) 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"};