Table is not showing AS's IPs in the right column
Closed this issue · 0 comments
inetAnt commented
Hi,
First of all, thank you for this awesome script !
The bug I encounter is that IPs shown for a particular AS table are sometimes wrong : they are in fact reversed.
For example, when I launch peeringmatcher.py 16276 42473, the output shows
AS42473 - ANEXIA | AS16276 - OVH
80.249.209.231 | 80.249.211.58
However, 80.249.209.231 is for OVH and 80.249.211.58 is for ANEXIA.
I quickly took a look at the code and believe the issue can be solved by removing the "sorted" :
for asn in sorted(asns):
becomes
for asn in asns:
Thanks