lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 92d6d643 authored by Michael Tremer's avatar Michael Tremer

Print ASes in format like: AS204867 - Lightning Wire Labs GmbH

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent f9b76c9d
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment