From ae5b77925237a59f5faa4e008b330383b8690cb2 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 20 Jul 2020 13:42:49 +0900 Subject: networkctl: sort alternative names --- src/network/networkctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/networkctl.c b/src/network/networkctl.c index a80a6185da..1427508dcd 100644 --- a/src/network/networkctl.c +++ b/src/network/networkctl.c @@ -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; -- cgit v1.2.3