mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 06:23:00 +02:00
libloc: update to 0.9.5 and backport fix for #12554
This patch updates libloc to 0.9.5, deletes the upstream patchset from version 0.9.4, and includes a latest upstream patch to backport a fix for #12554. Cc: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Peter Müller <peter.mueller@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
5189d54a2f
commit
f31c8d2ade
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,27 @@
|
||||
From b178117bac33b4b1e7ce341a6f2eec493cca13f8 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Tremer <michael.tremer@ipfire.org>
|
||||
Date: Mon, 21 Dec 2020 16:25:46 +0000
|
||||
Subject: [PATCH] location: Fix list-networks-by-as
|
||||
|
||||
Fixes: #12554
|
||||
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
|
||||
---
|
||||
src/python/location.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/python/location.in b/src/python/location.in
|
||||
index b30beae..ad2ccf5 100644
|
||||
--- a/src/python/location.in
|
||||
+++ b/src/python/location.in
|
||||
@@ -493,7 +493,7 @@ class CLI(object):
|
||||
f = writer(sys.stdout, prefix="AS%s" % asn)
|
||||
|
||||
# Print all matching networks
|
||||
- for n in db.search_networks(asn=asn, family=ns.family):
|
||||
+ for n in db.search_networks(asns=[asn], family=ns.family):
|
||||
f.write(n)
|
||||
|
||||
f.finish()
|
||||
--
|
||||
2.26.2
|
||||
|
||||
Reference in New Issue
Block a user