all: add device carrier flag

System Internals / NetworkManager - Beniamino Galvani [redhat.com] - 22 November 2019 09:18 UTC

Add a new 'carrier' flag to the InterfaceFlags property of devices to indicate the current carrier state.

The new flag is equivalent to the 'lower-up' flag for all devices except the ones that use a non-standard carrier detection mechanism like NMDeviceAdsl.

2b7def052 all: add device carrier flag
clients/cli/devices.c | 4 +
clients/cli/utils.h | 1 +
.../test-client.check-on-disk/test_003.expected | 472 ++++++-----
.../test-client.check-on-disk/test_004.expected | 936 ++++++++++++---------
libnm-core/nm-dbus-interface.h | 5 +
src/devices/nm-device.c | 26 +-
6 files changed, 851 insertions(+), 593 deletions(-)

Upstream: cgit.freedesktop.org


  • Share