diff options
author | Dan Williams <dcbw@redhat.com> | 2011-03-17 13:39:31 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-03-17 13:42:22 -0500 |
commit | 23943e7ce26a1cb932f1a84026bbbee2f504f1be (patch) | |
tree | 30363ef9345b5c7709ea9f142cced3c9179446d8 /test/nm-tool.c | |
parent | 14b23ba3991eb8e5f44330380fcae4d1940a8a2f (diff) | |
download | NetworkManager-23943e7ce26a1cb932f1a84026bbbee2f504f1be.tar.gz |
core: handle new device states
The device states aren't used yet, but handle them anyway.
Diffstat (limited to 'test/nm-tool.c')
-rw-r--r-- | test/nm-tool.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/nm-tool.c b/test/nm-tool.c index 4c3b0f4297..a4b80df09e 100644 --- a/test/nm-tool.c +++ b/test/nm-tool.c @@ -297,8 +297,14 @@ get_dev_state_string (NMDeviceState state) return "connecting (need authentication)"; else if (state == NM_DEVICE_STATE_IP_CONFIG) return "connecting (getting IP configuration)"; + else if (state == NM_DEVICE_STATE_IP_CHECK) + return "connecting (checking IP connectivity)"; + else if (state == NM_DEVICE_STATE_SECONDARIES) + return "connecting (starting dependent connections)"; else if (state == NM_DEVICE_STATE_ACTIVATED) return "connected"; + else if (state == NM_DEVICE_STATE_DEACTIVATING) + return "disconnecting"; else if (state == NM_DEVICE_STATE_FAILED) return "connection failed"; return "unknown"; |