diff options
author | Thomas Haller <thaller@redhat.com> | 2020-04-24 09:20:25 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-04-24 10:09:50 +0200 |
commit | de2062c08d71fa603448cd3ef260d7ad62896a73 (patch) | |
tree | 45614fe28d2f85293b64e34095d8dbd26b9a5ca0 | |
parent | b775dda9288aff27febf375b601cbf8e9da34891 (diff) | |
download | NetworkManager-de2062c08d71fa603448cd3ef260d7ad62896a73.tar.gz |
libnm: fix API version annotation for nm_setting_connection_get_mud_url()
-rw-r--r-- | libnm-core/nm-setting-connection.c | 5 | ||||
-rw-r--r-- | libnm-core/nm-setting-connection.h | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libnm-core/nm-setting-connection.c b/libnm-core/nm-setting-connection.c index 2f64e17739..caacdf36c5 100644 --- a/libnm-core/nm-setting-connection.c +++ b/libnm-core/nm-setting-connection.c @@ -758,8 +758,9 @@ nm_setting_connection_get_secondary (NMSettingConnection *setting, guint32 idx) * * Returns the value contained in the #NMSettingConnection:mud-url * property. + * + * Since: 1.26 **/ - const char * nm_setting_connection_get_mud_url (NMSettingConnection *setting) { @@ -2327,6 +2328,7 @@ nm_setting_connection_class_init (NMSettingConnectionClass *klass) * to manufacturer-recommended network policies for IoT devices. It is transmitted * as a DHCPv4 or DHCPv6 option. * + * Since: 1.26 **/ /* ---ifcfg-rh--- * property: mud-url @@ -2336,7 +2338,6 @@ nm_setting_connection_class_init (NMSettingConnectionClass *klass) * example: https://yourdevice.example.com/model.json * ---end--- */ - obj_properties[PROP_MUD_URL] = g_param_spec_string (NM_SETTING_CONNECTION_MUD_URL, "", "", NULL, diff --git a/libnm-core/nm-setting-connection.h b/libnm-core/nm-setting-connection.h index 36df389671..9a6f09a852 100644 --- a/libnm-core/nm-setting-connection.h +++ b/libnm-core/nm-setting-connection.h @@ -205,6 +205,7 @@ NMSettingConnectionLlmnr nm_setting_connection_get_llmnr (NMSettingConnection * NM_AVAILABLE_IN_1_20 gint32 nm_setting_connection_get_wait_device_timeout (NMSettingConnection *setting); +NM_AVAILABLE_IN_1_26 const char *nm_setting_connection_get_mud_url (NMSettingConnection *setting); G_END_DECLS |