From df4528d6668ab18e40584fe540355bdfba0fb6dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:29 +0200 Subject: Adding debian version 14.2.21-1. Signed-off-by: Daniel Baumann --- debian/patches/allow-bgp-to-host.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/patches/allow-bgp-to-host.patch (limited to 'debian/patches/allow-bgp-to-host.patch') diff --git a/debian/patches/allow-bgp-to-host.patch b/debian/patches/allow-bgp-to-host.patch new file mode 100644 index 00000000..6c76dda3 --- /dev/null +++ b/debian/patches/allow-bgp-to-host.patch @@ -0,0 +1,18 @@ +Description: allow BGP-to-the-host style binding +Author: Thomas Goirand +Forwarded: no +Last-Update: 2021-04-21 + +diff --git a/src/common/ipaddr.cc b/src/common/ipaddr.cc +index 0abf7f20ca..ce81e7e735 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)) -- cgit v1.2.3