diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2020-11-03 18:19:58 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-11-03 18:21:07 -0800 |
commit | 4fcc63b780eb64f039754a7f5008bd1f52b1f0f0 (patch) | |
tree | 160aca349034d0ce6b44bf95b041666d3e2e8f76 /net-misc/exabgp/files | |
parent | sys-process/parallel: bump to 20201022 (diff) | |
download | gentoo-4fcc63b780eb64f039754a7f5008bd1f52b1f0f0.tar.gz gentoo-4fcc63b780eb64f039754a7f5008bd1f52b1f0f0.tar.bz2 gentoo-4fcc63b780eb64f039754a7f5008bd1f52b1f0f0.zip |
net-misc/exabgp-4.2.11: Version bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
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( |