]> git.ipfire.org Git - location/libloc.git/blobdiff - src/python/as.c
Print ASes in format like: AS204867 - Lightning Wire Labs GmbH
[location/libloc.git] / src / python / as.c
index e3b716bc11fc71682ce4bf9980450e83f0b9f45d..2e111b588c1be44692a5ee41337563b1607ee930 100644 (file)
@@ -73,7 +73,7 @@ static PyObject* AS_str(ASObject* self) {
        const char* name = loc_as_get_name(self->as);
 
        if (name)
-               return PyUnicode_FromFormat("AS%d (%s)", number, name);
+               return PyUnicode_FromFormat("AS%d - %s", number, name);
 
        return PyUnicode_FromFormat("AS%d", number);
 }