diff options
author | Thomas Haller <thaller@redhat.com> | 2019-02-10 15:22:26 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-02-14 08:00:29 +0100 |
commit | 2ed01e2e34f8f71da74b36bdb9bb772ca0fe8456 (patch) | |
tree | 7ca0f71f7bdddde14db4abadec482201b6d60070 /src/platform/tests | |
parent | c3751a25a15f1b260624730aeec48d41fe7eb3af (diff) | |
download | NetworkManager-2ed01e2e34f8f71da74b36bdb9bb772ca0fe8456.tar.gz |
platform: add change-flags argument to platform's link_wireguard_change()
We will need more flags.
WireGuard internal tools solve this by embedding the change flags inside
the structure that corresponds to NMPlatformLnkWireGuard. We don't do
that, NMPlatformLnkWireGuard is only for containing the information about
the link.
Diffstat (limited to 'src/platform/tests')
-rw-r--r-- | src/platform/tests/test-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/tests/test-link.c b/src/platform/tests/test-link.c index e11858d634..65291bc323 100644 --- a/src/platform/tests/test-link.c +++ b/src/platform/tests/test-link.c @@ -913,7 +913,7 @@ _test_wireguard_change (NMPlatform *platform, &lnk_wireguard, (const NMPWireGuardPeer *) peers->data, peers->len, - TRUE); + NM_PLATFORM_WIREGUARD_CHANGE_FLAG_REPLACE_PEERS); g_assert (NMTST_NM_ERR_SUCCESS (r)); } |