networkctl: sort ifindexes in status command
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 7 Oct 2024 03:18:54 +0000 (12:18 +0900)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 7 Oct 2024 07:48:00 +0000 (09:48 +0200)
commita02166297c195e9a7e151268c33fbc275d75fa82
tree393dc1fd5c06422b171d6e09e8dce9c18f686e1d
parentdd9a02ce880905d83b5b6ddedb04c33f5942f51c
networkctl: sort ifindexes in status command

Before:
$ networkctl status
● Interfaces: 372, 368, 373, 375, 376, 377, 378, 379, 381, 391, 3, 1201, 1202, 1184, 1610, 9, 8, 1340, 2, 1, 1256, 7

After:
$ networkctl status
● Interfaces: 1, 2, 3, 7, 8, 9, 368, 372, 373, 375, 376, 377, 378, 379, 381, 391, 1184, 1201, 1202, 1256, 1340, 1610
src/network/networkctl-status-system.c