NetworkManager/clients/cli
Beniamino Galvani 5b31dfb1a5 cli: remove assertion in nmc_device_state_to_color()
nmcli should not fail when the state device state is > ACTIVATED.
Just return an unknown color code like we used to do, and like we do
for connections.

Fixes: 31aa2cfe29

https://bugzilla.gnome.org/show_bug.cgi?id=796834
(cherry picked from commit c955d91d4b)
2018-08-10 10:14:40 +02:00
..
agent.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c cli: return NULL strv array from _ip_config_get_routes() if there are no routes 2018-06-15 11:48:16 +02:00
common.h cli: rework connection handling for multiple results 2018-05-14 17:53:03 +02:00
connections.c cli: drop an unused variable 2018-06-13 15:58:20 +02:00
connections.h cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
devices.c cli: remove assertion in nmc_device_state_to_color() 2018-08-10 10:14:40 +02:00
devices.h cli: use a palette to implement coloring 2018-05-10 14:36:58 +02:00
general.c cli: spawn pager on "nmcli c" and "nmcli g permsisions" 2018-06-11 10:28:50 +02:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
meson.build build: unifiy specifying locale directory define 2018-05-31 15:59:38 +02:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c cli: rework printing of general active-connection properties 2018-06-01 16:03:23 +02:00
nmcli.h cli: rework printing of nmcli connection for multiple active connections 2018-06-01 16:03:23 +02:00
polkit-agent.c cli: rework callbacks in NMPolkitListener to use one vtable structure 2018-04-16 16:03:14 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
settings.h cli: move setting creation to meta data 2017-04-12 14:12:20 +02:00
utils.c cli: fix printing multi-line output when there is nothing to print 2018-06-15 11:48:16 +02:00
utils.h cli: add connection FILENAME field 2018-06-11 15:09:30 +02:00