diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-04-03 08:28:53 -0400 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-04-08 09:59:24 +0200 |
commit | c1c3d7e145ab2ea65c5474817bcb20b58f434ecb (patch) | |
tree | f5bb85a9ec0e60dbffca52708f3569850d4e51c4 | |
parent | 7914a6b6bd0855e9202cff283d4e9a2fb1f2a818 (diff) | |
download | NetworkManager-c1c3d7e145ab2ea65c5474817bcb20b58f434ecb.tar.gz |
device: translate NM_DEVICE_STATE_REASON_UNKNOWN to "unknown"
-rw-r--r-- | src/devices/nm-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 1083274df8..5b3c7dbc74 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -388,6 +388,7 @@ state_to_string (NMDeviceState state) } static const char *reason_table[] = { + [NM_DEVICE_STATE_REASON_UNKNOWN] = "unknown", [NM_DEVICE_STATE_REASON_NONE] = "none", [NM_DEVICE_STATE_REASON_NOW_MANAGED] = "managed", [NM_DEVICE_STATE_REASON_NOW_UNMANAGED] = "unmanaged", |