mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 22:30:19 +01:00
parent
bfacd24f83
commit
a4de56a3d1
1 changed files with 2 additions and 2 deletions
|
|
@ -323,8 +323,8 @@ _ip_config_lst_cmp (const CList *a_lst,
|
|||
NM_CMP_DIRECT (nm_ip_config_get_dns_priority (a->ip_config),
|
||||
nm_ip_config_get_dns_priority (b->ip_config));
|
||||
|
||||
/* Sort also according to type */
|
||||
NM_CMP_DIRECT (a->ip_config_type, b->ip_config_type);
|
||||
/* Sort according to type (descendingly) */
|
||||
NM_CMP_FIELD (b, a, ip_config_type);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue