diff options
author | Thomas Haller <thaller@redhat.com> | 2023-04-16 16:48:39 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-04-16 16:49:37 +0200 |
commit | 290bac0af9ad567f18ba59b5401dcfe4c571ee87 (patch) | |
tree | 29c86b19adc79fc5bddbf42908dc6cd767200c72 | |
parent | 7fa72645e5b4eebf299ebdb16b83be4e242b8822 (diff) | |
download | NetworkManager-290bac0af9ad567f18ba59b5401dcfe4c571ee87.tar.gz |
libnm: fix annotation for out_is_valid of nm_wireguard_peer_get_allowed_ip()
Fixes: 5d28a0dd899b ('doc: replace all (allow-none) annotations by (optional) and/or (nullable)')
-rw-r--r-- | src/libnm-core-impl/nm-setting-wireguard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnm-core-impl/nm-setting-wireguard.c b/src/libnm-core-impl/nm-setting-wireguard.c index 4a30985bc3..b0e3f66cbf 100644 --- a/src/libnm-core-impl/nm-setting-wireguard.c +++ b/src/libnm-core-impl/nm-setting-wireguard.c @@ -564,7 +564,7 @@ nm_wireguard_peer_get_allowed_ips_len(const NMWireGuardPeer *self) * @self: the #NMWireGuardPeer instance * @idx: the index from zero to (allowed-ips-len - 1) to * retrieve. - * @out_is_valid: (optional): %TRUE if the returned value is a valid allowed-ip + * @out_is_valid: (nullable): %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 |