From 4de34d5f11539365251a3220b0c34975da1c0dd9 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Sat, 1 Aug 2020 12:50:08 +0200 Subject: [PATCH] generate-asinfo.py: Putting ",country" at the end of the name to respect the shipped asinfo.txt format --- contrib/generate-asinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/generate-asinfo.py b/contrib/generate-asinfo.py index bdc5081..79748be 100755 --- a/contrib/generate-asinfo.py +++ b/contrib/generate-asinfo.py @@ -31,4 +31,4 @@ for line in sys.stdin: if name.startswith('- '): name = name[2:] - print("%s\t%s\t%s\t%s" % (asn,macro,name,country)) + print("%s\t%s\t%s,%s\t%s" % (asn,macro,name,country,country))