summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-device.c
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-11-30 22:03:43 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2015-12-01 17:39:41 +0100
commit818f7f57243feb31ac9089d1f787e70ff9dc63a6 (patch)
treec8c75adce9b2f6d451253537fd25cd3a570540ea /libnm-glib/nm-device.c
parente2da055f900e147a871fac37f2b755ab83d0265e (diff)
downloadNetworkManager-818f7f57243feb31ac9089d1f787e70ff9dc63a6.tar.gz
libnm-glib: add support for IP tunnel devices as generic ones
Diffstat (limited to 'libnm-glib/nm-device.c')
-rw-r--r--libnm-glib/nm-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm-glib/nm-device.c b/libnm-glib/nm-device.c
index aac94fb1dc..ce76432107 100644
--- a/libnm-glib/nm-device.c
+++ b/libnm-glib/nm-device.c
@@ -321,6 +321,7 @@ _nm_device_gtype_from_dtype (NMDeviceType dtype)
return NM_TYPE_DEVICE_VLAN;
case NM_DEVICE_TYPE_GENERIC:
case NM_DEVICE_TYPE_TUN:
+ case NM_DEVICE_TYPE_IP_TUNNEL:
return NM_TYPE_DEVICE_GENERIC;
default:
g_warning ("Unknown device type %d", dtype);