|
|
|
@ -274,8 +274,9 @@ absl::StatusOr<int> ListenerContainerAddAllLocalAddresses( |
|
|
|
|
addr = EventEngine::ResolvedAddress(ifa_it->ifa_addr, len); |
|
|
|
|
ResolvedAddressSetPort(addr, requested_port); |
|
|
|
|
std::string addr_str = *ResolvedAddressToString(addr); |
|
|
|
|
VLOG(2) << "Adding local addr from interface " << ifa_name << " flags 0x" |
|
|
|
|
<< std::hex << ifa_it->ifa_flags << " to server: " << addr_str; |
|
|
|
|
VLOG(2) << absl::StrFormat( |
|
|
|
|
"Adding local addr from interface %s flags 0x%x to server: %s", |
|
|
|
|
ifa_name, ifa_it->ifa_flags, addr_str.c_str()); |
|
|
|
|
// We could have multiple interfaces with the same address (e.g.,
|
|
|
|
|
// bonding), so look for duplicates.
|
|
|
|
|
if (listener_sockets.Find(addr).ok()) { |
|
|
|
|