From 8852b219a25025cb9f4e0623bda819bfb615005c Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 23 Feb 2016 15:26:37 +0100 Subject: [PATCH] libnm-util: add missing device types to NMDeviceType MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Althoug we don't fully backport the new device types, at least add the types to the NMDeviceType enum. Based-on-patch-by: Jiří Klimeš --- libnm-util/NetworkManager.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libnm-util/NetworkManager.h b/libnm-util/NetworkManager.h index 8101082b77..8b083b91bf 100644 --- a/libnm-util/NetworkManager.h +++ b/libnm-util/NetworkManager.h @@ -153,6 +153,8 @@ typedef enum { * @NM_DEVICE_TYPE_TEAM: a team master interface * @NM_DEVICE_TYPE_TUN: a TUN/TAP interface * @NM_DEVICE_TYPE_IP_TUNNEL: an IP tunnel interface + * @NM_DEVICE_TYPE_MACVLAN: a MACVLAN interface + * @NM_DEVICE_TYPE_VXLAN: a VXLAN interface * * #NMDeviceType values indicate the type of hardware represented by * an #NMDevice. @@ -178,6 +180,8 @@ typedef enum { NM_DEVICE_TYPE_TEAM = 15, NM_DEVICE_TYPE_TUN = 16, NM_DEVICE_TYPE_IP_TUNNEL = 17, + NM_DEVICE_TYPE_MACVLAN = 18, + NM_DEVICE_TYPE_VXLAN = 19, } NMDeviceType; /**