From 6a578faa244e09ed77bc09f7f5f1e266d5b22862 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 30 Jun 2021 16:13:34 +0200 Subject: [PATCH] libnm: document nm_ip_routing_rule_[gs]et_uid_range() as unusable Fixes: 972d1ba0469b ('libnm,core: support "uidrange" parameter for routing rules'): --- src/libnm-core-impl/nm-setting-ip-config.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/libnm-core-impl/nm-setting-ip-config.c b/src/libnm-core-impl/nm-setting-ip-config.c index ef5dcb1b20..59ab5ca2df 100644 --- a/src/libnm-core-impl/nm-setting-ip-config.c +++ b/src/libnm-core-impl/nm-setting-ip-config.c @@ -2441,7 +2441,9 @@ nm_ip_routing_rule_set_suppress_prefixlength(NMIPRoutingRule *self, gint32 suppr * * Returns: %TRUE if a uid range is set. * - * Since: 1.32 + * Since: 1.32. Due to a bug, the symbols of this function + * are only exported starting with version 1.34.0. The function + * is unusable in 1.32. */ gboolean nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self, @@ -2466,7 +2468,9 @@ nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self, * For a valid range, start must be less or equal to end. * If set to an invalid range, the range gets unset. * - * Since: 1.32 + * Since: 1.32. Due to a bug, the symbols of this function + * are only exported starting with version 1.34.0. The function + * is unusable in 1.32. */ void nm_ip_routing_rule_set_uid_range(NMIPRoutingRule *self,