projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a3dbcc
)
allow BGP-to-the-host style binding
author
Ceph Packaging Team
<team+ceph@tracker.debian.org>
Thu, 27 May 2021 10:04:21 +0000
(11:04 +0100)
committer
Thomas Goirand
<zigo@debian.org>
Thu, 27 May 2021 10:04:21 +0000
(11:04 +0100)
Forwarded: no
Last-Update: 2021-04-21
Gbp-Pq: Name allow-bgp-to-host.patch
src/common/ipaddr.cc
patch
|
blob
|
history
diff --git
a/src/common/ipaddr.cc
b/src/common/ipaddr.cc
index 0abf7f20ca71f1acbe21dadef072f9b6db9ffc43..ce81e7e735c23545a89eae354c07637a72aba523 100644
(file)
--- 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))