mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
fix ixf import preview bug where entries with either ipv4 or ipv6 address blank would be ignored (gh-490) (#491)
This commit is contained in:
@@ -345,7 +345,7 @@ class Importer(object):
|
||||
ipv6.get("routeserver", False))
|
||||
)
|
||||
|
||||
if not self.save and (not self.ixlan.test_ipv4_address(ipv4_addr) or not \
|
||||
if not self.save and (not self.ixlan.test_ipv4_address(ipv4_addr) and not \
|
||||
self.ixlan.test_ipv6_address(ipv6_addr)):
|
||||
#for the preview we don't care at all about new ip addresses
|
||||
#not at the ixlan if they dont match the prefix
|
||||
|
Reference in New Issue
Block a user