From: Ceph Packaging Team Date: Thu, 27 May 2021 10:04:21 +0000 (+0100) Subject: allow BGP-to-the-host style binding X-Git-Tag: archive/raspbian/14.2.21-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5891ef916f7f0bb11742757137e408c3c15d8f77;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))