summaryrefslogtreecommitdiff
path: root/libnm/nm-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-device.c')
-rw-r--r--libnm/nm-device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm/nm-device.c b/libnm/nm-device.c
index 96698967b9..eba3cb5e58 100644
--- a/libnm/nm-device.c
+++ b/libnm/nm-device.c
@@ -287,6 +287,7 @@ coerce_type (NMDeviceType type)
case NM_DEVICE_TYPE_6LOWPAN:
case NM_DEVICE_TYPE_WIREGUARD:
case NM_DEVICE_TYPE_WIFI_P2P:
+ case NM_DEVICE_TYPE_CONTRAIL_VROUTER:
return type;
}
return NM_DEVICE_TYPE_UNKNOWN;
@@ -1395,6 +1396,8 @@ get_type_name (NMDevice *device)
return _("WireGuard");
case NM_DEVICE_TYPE_WIFI_P2P:
return _("Wi-Fi P2P");
+ case NM_DEVICE_TYPE_CONTRAIL_VROUTER:
+ return _("Contrail Vrouter");
case NM_DEVICE_TYPE_GENERIC:
case NM_DEVICE_TYPE_UNUSED1:
case NM_DEVICE_TYPE_UNUSED2: