allow BGP-to-the-host style binding
authorCeph Packaging Team <team+ceph@tracker.debian.org>
Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)
committerThomas Goirand <zigo@debian.org>
Wed, 21 Apr 2021 08:02:07 +0000 (09:02 +0100)
Forwarded: no
Last-Update: 2021-04-21

Gbp-Pq: Name allow-bgp-to-host.patch

src/common/ipaddr.cc

index 0abf7f20ca71f1acbe21dadef072f9b6db9ffc43..ce81e7e735c23545a89eae354c07637a72aba523 100644 (file)
@@ -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))