diff options
author | Thomas Haller <thaller@redhat.com> | 2019-03-01 15:52:19 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-03-07 22:22:39 +0100 |
commit | f617d5e8b4c421f0812d4fc9bf6780cc51a74d90 (patch) | |
tree | 5d849810e1f1080e2d4d31863de9eb8a771e596a /examples | |
parent | 6452d2d0e54cbb4a4acb380d5f8a4a76326bb700 (diff) | |
download | NetworkManager-f617d5e8b4c421f0812d4fc9bf6780cc51a74d90.tar.gz |
libnm: change nm_wireguard_peer_set_endpoint() API to allow validation
This is an API break since 1.16-rc1.
Similar to previous commit.
(cherry picked from commit 8ae9aa2428c10aafb837c692fb39bfd04ef4235c)
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/python/gi/nm-wg-set | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/gi/nm-wg-set b/examples/python/gi/nm-wg-set index 9ee61c7dc4..32097f83f3 100755 --- a/examples/python/gi/nm-wg-set +++ b/examples/python/gi/nm-wg-set @@ -369,7 +369,7 @@ def do_set(nm_client, conn, argv): idx += 2 continue if peer and argv[idx] == 'endpoint': - peer.set_endpoint(argv_get_one(argv, idx + 1, None, idx)) + peer.set_endpoint(argv_get_one(argv, idx + 1, None, idx), True) idx += 2 continue if peer and argv[idx] == 'persistent-keepalive': |