diff options
author | Thomas Haller <thaller@redhat.com> | 2021-03-05 18:07:02 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-03-08 22:24:12 +0100 |
commit | a5829ea6d1f9238b20c47d7f57ca3683b1e64053 (patch) | |
tree | f12a82ffd4eaabf5d5be45c157c5b2789caf62d9 | |
parent | 8df3ef5063cf0f8ee904f8fd39e9e64cc60836eb (diff) | |
download | NetworkManager-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.c | 3 |
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. |