summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-03-05 18:07:02 +0100
committerThomas Haller <thaller@redhat.com>2021-03-08 22:24:12 +0100
commita5829ea6d1f9238b20c47d7f57ca3683b1e64053 (patch)
treef12a82ffd4eaabf5d5be45c157c5b2789caf62d9
parent8df3ef5063cf0f8ee904f8fd39e9e64cc60836eb (diff)
downloadNetworkManager-a5829ea6d1f9238b20c47d7f57ca3683b1e64053.tar.gz
libnm: comment about wrong out parameter of nm_wireguard_peer_get_allowed_ip()
-rw-r--r--src/libnm-core-impl/nm-setting-wireguard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libnm-core-impl/nm-setting-wireguard.c b/src/libnm-core-impl/nm-setting-wireguard.c
index 644b36d698..5c96fc6dfa 100644
--- a/src/libnm-core-impl/nm-setting-wireguard.c
+++ b/src/libnm-core-impl/nm-setting-wireguard.c
@@ -566,6 +566,9 @@ nm_wireguard_peer_get_allowed_ips_len(const NMWireGuardPeer *self)
* retrieve.
* @out_is_valid: (allow-none): %TRUE if the returned value is a valid allowed-ip
* setting.
+ * This parameter is wrongly not marked as (out) argument, it is
+ * thus not accessible via introspection. This cannot be fixed without
+ * breaking API for introspection users.
*
* Returns: (transfer none): the allowed-ip setting at index @idx.
* If @idx is out of range, %NULL will be returned.