summaryrefslogtreecommitdiff
path: root/libnm/nm-client.c
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2016-06-30 18:20:22 +0200
committerThomas Haller <thaller@redhat.com>2017-01-16 17:37:14 +0100
commit67adbda83e0f4ee3a03d7c40c30a1058fd76a211 (patch)
treee7d2e6492b5d0336f6092b8736abd2981b57e9fe /libnm/nm-client.c
parent85103656e97bedf4cdd80c7eb1832b59f4a29686 (diff)
downloadNetworkManager-67adbda83e0f4ee3a03d7c40c30a1058fd76a211.tar.gz
core,libnm: introduce NMDeviceMacsec
At the moment the device only exposes the current link status, but cannot create new links.
Diffstat (limited to 'libnm/nm-client.c')
-rw-r--r--libnm/nm-client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm/nm-client.c b/libnm/nm-client.c
index 4b31236e39..63eaa84ce3 100644
--- a/libnm/nm-client.c
+++ b/libnm/nm-client.c
@@ -56,6 +56,7 @@
#include "nm-device-generic.h"
#include "nm-device-infiniband.h"
#include "nm-device-ip-tunnel.h"
+#include "nm-device-macsec.h"
#include "nm-device-macvlan.h"
#include "nm-device-modem.h"
#include "nm-device-olpc-mesh.h"
@@ -2061,6 +2062,8 @@ obj_nm_for_gdbus_object (GDBusObject *object, GDBusObjectManager *object_manager
type = NM_TYPE_DEVICE_INFINIBAND;
else if (strcmp (ifname, NM_DBUS_INTERFACE_DEVICE_IP_TUNNEL) == 0)
type = NM_TYPE_DEVICE_IP_TUNNEL;
+ else if (strcmp (ifname, NM_DBUS_INTERFACE_DEVICE_MACSEC) == 0)
+ type = NM_TYPE_DEVICE_MACSEC;
else if (strcmp (ifname, NM_DBUS_INTERFACE_DEVICE_MACVLAN) == 0)
type = NM_TYPE_DEVICE_MACVLAN;
else if (strcmp (ifname, NM_DBUS_INTERFACE_DEVICE_MODEM) == 0)