From fdecf39c687ac1ca3f18ab23b9348086f6070a57 Mon Sep 17 00:00:00 2001
From: Robert Latta <robert.latta@geant.org>
Date: Tue, 23 Jul 2019 16:21:50 +0000
Subject: [PATCH] Removed IP version matching to allow different IP versions to
 correlate together

---
 inventory_provider/routes/classifier.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/inventory_provider/routes/classifier.py b/inventory_provider/routes/classifier.py
index 01e9edb0..3d8fce36 100644
--- a/inventory_provider/routes/classifier.py
+++ b/inventory_provider/routes/classifier.py
@@ -171,8 +171,6 @@ def ix_peering_info(peer_info):
         other = json.loads(other)
 
         peer_address = ipaddress.ip_address(other['name'])
-        if protocol != type(peer_address).__name__:
-            continue
 
         if other['router'] == peer_info['router']:
             result['router'].append(other['name'])
-- 
GitLab