diff --git a/src/libnm-client-impl/libnm.ver b/src/libnm-client-impl/libnm.ver index 65d52b1a03..61746dc4fe 100644 --- a/src/libnm-client-impl/libnm.ver +++ b/src/libnm-client-impl/libnm.ver @@ -1793,3 +1793,8 @@ global: nm_setting_match_new; nm_setting_wired_get_accept_all_mac_addresses; } libnm_1_30_0; + +libnm_1_34_0 { + nm_ip_routing_rule_get_uid_range; + nm_ip_routing_rule_set_uid_range; +} libnm_1_32_0; diff --git a/src/libnm-core-impl/nm-setting-ip-config.c b/src/libnm-core-impl/nm-setting-ip-config.c index 5a5f714c8c..aa1bf52bff 100644 --- a/src/libnm-core-impl/nm-setting-ip-config.c +++ b/src/libnm-core-impl/nm-setting-ip-config.c @@ -2441,7 +2441,10 @@ nm_ip_routing_rule_set_suppress_prefixlength(NMIPRoutingRule *self, gint32 suppr * * Returns: %TRUE if a uid range is set. * - * Since: 1.32 + * Since: 1.34 + * + * This API was wrongly introduced in the header files for 1.32, but the + * symbols were not exported. The API only works since 1.34 and newer. */ gboolean nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self, @@ -2466,7 +2469,10 @@ 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.34 + * + * This API was wrongly introduced in the header files for 1.32, but the + * symbols were not exported. The API only works since 1.34 and newer. */ void nm_ip_routing_rule_set_uid_range(NMIPRoutingRule *self, diff --git a/src/libnm-core-public/nm-setting-ip-config.h b/src/libnm-core-public/nm-setting-ip-config.h index de15dd540f..643428617f 100644 --- a/src/libnm-core-public/nm-setting-ip-config.h +++ b/src/libnm-core-public/nm-setting-ip-config.h @@ -248,11 +248,11 @@ NM_AVAILABLE_IN_1_20 void nm_ip_routing_rule_set_suppress_prefixlength(NMIPRoutingRule *self, gint32 suppress_prefixlength); -NM_AVAILABLE_IN_1_32 +NM_AVAILABLE_IN_1_34 gboolean nm_ip_routing_rule_get_uid_range(const NMIPRoutingRule *self, guint32 * out_range_start, guint32 * out_range_end); -NM_AVAILABLE_IN_1_32 +NM_AVAILABLE_IN_1_34 void nm_ip_routing_rule_set_uid_range(NMIPRoutingRule *self, guint32 uid_range_start, guint32 uid_range_end);