From: Ceph Packaging Team Date: Thu, 26 Aug 2021 08:36:49 +0000 (+0100) Subject: allow BGP-to-the-host style binding X-Git-Tag: archive/raspbian/14.2.21-1.1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=083ac34292dd36f557123c7d748530129123faa0;p=ceph.git allow BGP-to-the-host style binding Forwarded: no Last-Update: 2021-04-21 Gbp-Pq: Name allow-bgp-to-host.patch --- diff --git a/src/common/ipaddr.cc b/src/common/ipaddr.cc index 0abf7f20c..ce81e7e73 100644 --- a/src/common/ipaddr.cc +++ b/src/common/ipaddr.cc @@ -56,7 +56,7 @@ const struct ifaddrs *find_ipv4_in_subnet(const struct ifaddrs *addrs, if (addrs->ifa_addr == NULL) continue; - if (strcmp(addrs->ifa_name, "lo") == 0 || boost::starts_with(addrs->ifa_name, "lo:")) + if (boost::starts_with(addrs->ifa_name, "lo:")) continue; if (numa_node >= 0 && !match_numa_node(addrs->ifa_name, numa_node))