summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-04-16 16:48:39 +0200
committerThomas Haller <thaller@redhat.com>2023-04-16 16:49:37 +0200
commit290bac0af9ad567f18ba59b5401dcfe4c571ee87 (patch)
tree29c86b19adc79fc5bddbf42908dc6cd767200c72
parent7fa72645e5b4eebf299ebdb16b83be4e242b8822 (diff)
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.c2
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