summaryrefslogtreecommitdiff
path: root/src/nm-types.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-10-09 12:42:29 -0500
committerThomas Haller <thaller@redhat.com>2015-12-04 12:16:41 +0100
commit20906ca7a338661776a0a8364e41df9fd0ee3467 (patch)
tree5193316fb04f0b16aa1ebc901a2da0c77c2212c4 /src/nm-types.h
parent4dbaac4ba24ebc8b257fffe5197cc8e362804a58 (diff)
downloadNetworkManager-20906ca7a338661776a0a8364e41df9fd0ee3467.tar.gz
core: ensure platform links are compatible with the NMDevice
Ensure the platform link with the same interface name as the NMDevice is actually compatible with it before using the link for initialization of device properties. If not, remove the NMDevice and create a new one since there are kernel resources with a different type.
Diffstat (limited to 'src/nm-types.h')
-rw-r--r--src/nm-types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-types.h b/src/nm-types.h
index 16ae6fa7b4..65d6193be2 100644
--- a/src/nm-types.h
+++ b/src/nm-types.h
@@ -126,6 +126,8 @@ typedef enum {
NM_LINK_TYPE_BRIDGE = 0x10000 | 0x20000,
NM_LINK_TYPE_BOND,
NM_LINK_TYPE_TEAM,
+
+ NM_LINK_TYPE_ANY = G_MAXUINT32,
} NMLinkType;
typedef enum {