Skip to content

Commit

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

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
junr03 authored and jpsim committed Nov 29, 2022
1 parent 0eae40b commit 6b2357b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mobile/envoy
Submodule envoy updated from 689bd3 to 7f3e8a
5 changes: 4 additions & 1 deletion mobile/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 mobile/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 6b2357b

Please sign in to comment.