summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-07-20 06:42:49 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-07-20 08:24:40 +0200
commitae5b77925237a59f5faa4e008b330383b8690cb2 (patch)
tree973e717cafbfcc7365a4782fc0c95ac39a48396a
parentvconsole-setup: downgrade log message when setting font fails on dummy console (diff)
downloadsystemd-ae5b77925237a59f5faa4e008b330383b8690cb2.tar.xz
systemd-ae5b77925237a59f5faa4e008b330383b8690cb2.zip
networkctl: sort alternative names
-rw-r--r--src/network/networkctl.c1
1 files changed, 1 insertions, 0 deletions
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;