aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/seeds/makeseeds.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/seeds/makeseeds.py b/contrib/seeds/makeseeds.py
index 710881b1ae..c9ccdc28e8 100755
--- a/contrib/seeds/makeseeds.py
+++ b/contrib/seeds/makeseeds.py
@@ -108,10 +108,10 @@ def parseline(line):
}
def dedup(ips):
- '''deduplicate by address'''
+ '''deduplicate by address,port'''
d = {}
for ip in ips:
- d[ip['ip']] = ip
+ d[ip['ip'],ip['port']] = ip
return list(d.values())
def filtermultiport(ips):