1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-20 18:04:03 +03:00

networkctl: sort alternative names

This commit is contained in:
Yu Watanabe 2020-07-20 13:42:49 +09:00
parent 0ef1adf512
commit ae5b779252

View File

@ -1486,6 +1486,7 @@ static int link_status_one(
if (r < 0)
return table_log_add_error(r);
strv_sort(info->alternative_names);
r = dump_list(table, "Alternative Names:", info->alternative_names);
if (r < 0)
return r;