Skip to content

Commit

Permalink
update envoy: 7f3e8a85ff1dbc3f3aec54dad7b5450aa53a98cd (#1030)
Browse files Browse the repository at this point in the history
update envoy: 7f3e8a85ff1dbc3f3aec54dad7b5450aa53a98cd

Signed-off-by: Jose Nino <jnino@lyft.com>
  • Loading branch information
junr03 authored Aug 13, 2020
1 parent 4aedd01 commit 0f2e702
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion envoy
Submodule envoy updated 214 files
5 changes: 4 additions & 1 deletion library/common/network/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)
4 changes: 3 additions & 1 deletion library/common/network/synthetic_address_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "envoy/network/address.h"

#include "common/network/socket_interface.h"

namespace Envoy {
namespace Network {
namespace Address {
Expand Down Expand Up @@ -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"};
Expand Down

0 comments on commit 0f2e702

Please sign in to comment.