diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /net-misc/exabgp/files | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'net-misc/exabgp/files')
-rw-r--r-- | net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch b/net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch new file mode 100644 index 000000000000..0a86f72dd912 --- /dev/null +++ b/net-misc/exabgp/files/exabgp-4.2.10-ip-path.patch @@ -0,0 +1,13 @@ +diff --git a/lib/exabgp/application/healthcheck.py b/lib/exabgp/application/healthcheck.py +index a4f6b8d1..2b4e928e 100644 +--- a/lib/exabgp/application/healthcheck.py ++++ b/lib/exabgp/application/healthcheck.py +@@ -184,7 +184,7 @@ def loopback_ips(label, label_only): + # Use "ip" (ifconfig is not able to see all addresses) + ipre = re.compile(r"^(?P<index>\d+):\s+(?P<name>\S+)\s+inet6?\s+" r"(?P<ip>[\da-f.:]+)/(?P<mask>\d+)\s+.*") + labelre = re.compile(r".*\s+lo:(?P<label>\S+).*") +- cmd = subprocess.Popen("/sbin/ip -o address show dev lo".split(), shell=False, stdout=subprocess.PIPE) ++ cmd = subprocess.Popen("ip -o address show dev lo".split(), shell=False, stdout=subprocess.PIPE) + else: + # Try with ifconfig + ipre = re.compile( |