diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-06-06 15:55:08 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-08-05 08:03:15 +0200 |
commit | df72cad107fd4e721488195109e29fae5f9b8e20 (patch) | |
tree | ebd07a03c365a200c1bb6c6336dec7bf96b72b41 /libnm/nm-client.c | |
parent | d5c2c3f6d7dff4d763d460052671d32f5389c815 (diff) | |
download | NetworkManager-df72cad107fd4e721488195109e29fae5f9b8e20.tar.gz |
device: add NMDevicePPP
The new device type represents a PPP interface, and will implement the
activation of new-style PPPoE connections, i.e. the ones that don't
claim the parent device.
Diffstat (limited to 'libnm/nm-client.c')
-rw-r--r-- | libnm/nm-client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm/nm-client.c b/libnm/nm-client.c index 38b69100f9..c8ce2d6eca 100644 --- a/libnm/nm-client.c +++ b/libnm/nm-client.c @@ -63,6 +63,7 @@ #include "nm-device-macvlan.h" #include "nm-device-modem.h" #include "nm-device-olpc-mesh.h" +#include "nm-device-ppp.h" #include "nm-device-team.h" #include "nm-device-tun.h" #include "nm-device-vlan.h" @@ -2078,6 +2079,8 @@ obj_nm_for_gdbus_object (NMClient *self, GDBusObject *object, GDBusObjectManager type = NM_TYPE_DEVICE_MODEM; else if (strcmp (ifname, NM_DBUS_INTERFACE_DEVICE_OLPC_MESH) == 0) type = NM_TYPE_DEVICE_OLPC_MESH; + else if (strcmp (ifname, NM_DBUS_INTERFACE_DEVICE_PPP) == 0) + type = NM_TYPE_DEVICE_PPP; else if (strcmp (ifname, NM_DBUS_INTERFACE_DEVICE_TEAM) == 0) type = NM_TYPE_DEVICE_TEAM; else if (strcmp (ifname, NM_DBUS_INTERFACE_DEVICE_TUN) == 0) |