diff options
Diffstat (limited to 'src/devices/nm-device-wireguard.c')
-rw-r--r-- | src/devices/nm-device-wireguard.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/nm-device-wireguard.c b/src/devices/nm-device-wireguard.c index 62ec027494..0ca8cf3a5a 100644 --- a/src/devices/nm-device-wireguard.c +++ b/src/devices/nm-device-wireguard.c @@ -21,6 +21,8 @@ #include "nm-device-wireguard.h" +#include "nm-setting-wireguard.h" + #include "nm-device-private.h" #include "platform/nm-platform.h" #include "nm-device-factory.h" @@ -30,6 +32,11 @@ _LOG_DECLARE_SELF(NMDeviceWireGuard); /*****************************************************************************/ +G_STATIC_ASSERT (NM_WIREGUARD_PUBLIC_KEY_LEN == NMP_WIREGUARD_PUBLIC_KEY_LEN); +G_STATIC_ASSERT (NM_WIREGUARD_SYMMETRIC_KEY_LEN == NMP_WIREGUARD_SYMMETRIC_KEY_LEN); + +/*****************************************************************************/ + NM_GOBJECT_PROPERTIES_DEFINE (NMDeviceWireGuard, PROP_PUBLIC_KEY, PROP_LISTEN_PORT, |