diff options
author | Javier Arteaga <jarteaga@jbeta.is> | 2018-03-13 13:42:38 +0000 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-08-06 08:34:27 +0200 |
commit | 54df43ed523afb4e8d92a0bebe02d173d02c18fb (patch) | |
tree | 2b529a2a48c076fcec4f3e3249ba6b23457c4d57 /libnm | |
parent | edd5cf1a3ca5cf43955976bb83d9fcc142969a55 (diff) | |
download | NetworkManager-54df43ed523afb4e8d92a0bebe02d173d02c18fb.tar.gz |
core: introduce NMDeviceWireGuard
For now, the device only exposes partial link status (not including
peers). It cannot create new links.
Diffstat (limited to 'libnm')
-rw-r--r-- | libnm/nm-device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 4745591553..aa45c4ada0 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -286,6 +286,7 @@ coerce_type (NMDeviceType type) case NM_DEVICE_TYPE_PPP: case NM_DEVICE_TYPE_WPAN: case NM_DEVICE_TYPE_6LOWPAN: + case NM_DEVICE_TYPE_WIREGUARD: return type; } return NM_DEVICE_TYPE_UNKNOWN; @@ -1351,6 +1352,8 @@ get_type_name (NMDevice *device) return _("IEEE 802.15.4"); case NM_DEVICE_TYPE_6LOWPAN: return _("6LoWPAN"); + case NM_DEVICE_TYPE_WIREGUARD: + return _("WireGuard"); case NM_DEVICE_TYPE_GENERIC: case NM_DEVICE_TYPE_UNUSED1: case NM_DEVICE_TYPE_UNUSED2: |