NetworkManager/clients
Thomas Haller ca4b530742 cli: use NM_CMP*() macros for compare_aps() in "clients/cli/devices.c"
The compare pattern seems simple, but seems error prone and subtle.
NM_CMP*() avoids that.

For example, nm_access_point_get_strength() returns an uint8_t.
C will promote those values to "int" before doing the subtraction.
Likewise, nm_access_point_get_frequency() returns a uint32_t. This
gets promoted to unsigned int when doing the subtraction. Afterwards,
that is converted to a signed int.
So both cases were in fact correct. But such things are not obvious.

Also, as fallback sort by D-Bus path. While that is not semantically
useful, we should use a defined sort order.
2020-03-16 13:40:51 +01:00
..
cli cli: use NM_CMP*() macros for compare_aps() in "clients/cli/devices.c" 2020-03-16 13:40:51 +01:00
cloud-setup shared/trivial: rename time related functions to use "nsec"/"msec" abbreviation instead of "ns"/"ms" 2020-02-10 19:11:50 +01:00
common clients: use nm_utils_ifname_valid() to validate interface name in nm_vpn_wireguard_import() 2020-02-26 17:51:13 +01:00
tests libnm,cli,ifcfg-rh: add ipv6.ra-timeout configuration option 2020-02-17 14:43:13 +01:00
tui nmtui: only set 'mode' and enable 'miimon' when setting up a new connection 2020-03-06 10:39:00 +01:00
meson.build nm-online: use nmc_client_new_async() instead of nm_client_new_async() 2019-12-10 09:17:17 +01:00
nm-online.c nm-online: don't fetch permissions for NMClient in nm-online 2019-12-10 09:17:17 +01:00