diff --git a/src/libnm-client-impl/libnm.ver b/src/libnm-client-impl/libnm.ver index fe4bfcbd2e..3fbd701d68 100644 --- a/src/libnm-client-impl/libnm.ver +++ b/src/libnm-client-impl/libnm.ver @@ -1879,6 +1879,11 @@ global: nm_vpn_plugin_info_supports_multiple; } libnm_1_40_0; +libnm_1_40_20_bondp { +global: + nm_setting_bond_port_get_prio; +} libnm_1_40_0; + libnm_1_42_0 { global: nm_client_get_version_info; @@ -1925,8 +1930,3 @@ global: nm_active_connection_get_controller; nm_setting_ip_config_get_replace_local_rule; } libnm_1_42_0; - -libnm_1_42_8 { -global: - nm_setting_bond_port_get_prio; -} libnm_1_42_0; diff --git a/src/libnm-client-impl/tests/test-gir.py b/src/libnm-client-impl/tests/test-gir.py index f8e06c59b4..9b42431c1e 100755 --- a/src/libnm-client-impl/tests/test-gir.py +++ b/src/libnm-client-impl/tests/test-gir.py @@ -89,8 +89,10 @@ def syms_from_ver(verfile): ): c_syms[str_removesuffix(line, ";")] = version - # This one is... messy. + # These are exceptions and we cannot know the version for the symbol so we + # hardcode it. c_syms["nm_ethtool_optname_is_feature"] = "1.20" + c_syms["nm_setting_bond_port_get_prio"] = "1.44" return c_syms