device: translate NM_DEVICE_STATE_REASON_UNKNOWN to "unknown"

(cherry picked from commit c1c3d7e145)
This commit is contained in:
Lubomir Rintel 2015-04-03 08:28:53 -04:00
parent 7f7c8acbae
commit 5eec0818a1

View file

@ -387,6 +387,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",