summaryrefslogtreecommitdiff
path: root/src/platform/tests
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-02-11 10:57:35 +0100
committerThomas Haller <thaller@redhat.com>2019-02-14 08:00:29 +0100
commit1e1b03c08943b847c4b70830258aba1d597fdc07 (patch)
treede0b93afb80fe73181bcbe815ecd519e6a950ff9 /src/platform/tests
parent2ed01e2e34f8f71da74b36bdb9bb772ca0fe8456 (diff)
downloadNetworkManager-1e1b03c08943b847c4b70830258aba1d597fdc07.tar.gz
platform: add flags for setting individual WireGuard options of link
Diffstat (limited to 'src/platform/tests')
-rw-r--r--src/platform/tests/test-link.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/platform/tests/test-link.c b/src/platform/tests/test-link.c
index 65291bc323..45156f9864 100644
--- a/src/platform/tests/test-link.c
+++ b/src/platform/tests/test-link.c
@@ -913,7 +913,10 @@ _test_wireguard_change (NMPlatform *platform,
&lnk_wireguard,
(const NMPWireGuardPeer *) peers->data,
peers->len,
- NM_PLATFORM_WIREGUARD_CHANGE_FLAG_REPLACE_PEERS);
+ NM_PLATFORM_WIREGUARD_CHANGE_FLAG_HAS_PRIVATE_KEY
+ | NM_PLATFORM_WIREGUARD_CHANGE_FLAG_HAS_LISTEN_PORT
+ | NM_PLATFORM_WIREGUARD_CHANGE_FLAG_HAS_FWMARK
+ | NM_PLATFORM_WIREGUARD_CHANGE_FLAG_REPLACE_PEERS);
g_assert (NMTST_NM_ERR_SUCCESS (r));
}