diff options
author | Thomas Haller <thaller@redhat.com> | 2019-02-11 10:57:35 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-02-14 08:00:29 +0100 |
commit | 1e1b03c08943b847c4b70830258aba1d597fdc07 (patch) | |
tree | de0b93afb80fe73181bcbe815ecd519e6a950ff9 /src/platform/tests | |
parent | 2ed01e2e34f8f71da74b36bdb9bb772ca0fe8456 (diff) | |
download | NetworkManager-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.c | 5 |
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)); } |