diff options
Diffstat (limited to 'libnm-core')
| -rw-r--r-- | libnm-core/nm-setting-connection.c | 6 | ||||
| -rw-r--r-- | libnm-core/nm-setting-wireless.c | 16 | ||||
| -rw-r--r-- | libnm-core/nm-utils.c | 4 |
3 files changed, 16 insertions, 10 deletions
diff --git a/libnm-core/nm-setting-connection.c b/libnm-core/nm-setting-connection.c index 689ba794..00f417a4 100644 --- a/libnm-core/nm-setting-connection.c +++ b/libnm-core/nm-setting-connection.c @@ -2044,8 +2044,6 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) * The permitted values are: yes: register hostname and resolving * for the connection, no: disable mDNS for the interface, resolve: * do not register hostname but allow resolving of mDNS host names. - * When updating this property on a currently activated connection, - * the change takes effect immediately. * * This feature requires a plugin which supports mDNS. One such * plugin is dns-systemd-resolved. @@ -2054,11 +2052,11 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) **/ /* ---ifcfg-rh--- * property: mdns - * variable: CONNECTION_MDNS(+) + * variable: MDNS(+) * values: yes,no,resolve * default: missing variable means global default * description: Whether or not mDNS is enabled for the connection - * example: CONNECTION_MDNS=yes + * example: MDNS=yes * ---end--- */ g_object_class_install_property diff --git a/libnm-core/nm-setting-wireless.c b/libnm-core/nm-setting-wireless.c index 89a2df8e..9885b336 100644 --- a/libnm-core/nm-setting-wireless.c +++ b/libnm-core/nm-setting-wireless.c @@ -1589,14 +1589,20 @@ nm_setting_wireless_class_init (NMSettingWirelessClass *setting_wireless_class) /** * NMSettingWireless:hidden: * - * If %TRUE, indicates this network is a non-broadcasting network that hides - * its SSID. In this case various workarounds may take place, such as - * probe-scanning the SSID for more reliable network discovery. However, + * If %TRUE, indicates that the network is a non-broadcasting network that + * hides its SSID. This works both in infrastructure and AP mode. + * + * In infrastructure mode, various workarounds are used for a more reliable + * discovery of hidden networks, such as probe-scanning the SSID. However, * these workarounds expose inherent insecurities with hidden SSID networks, * and thus hidden SSID networks should be used with caution. * - * Note that marking the network as hidden may be a privacy issue for you, as - * the explicit probe-scans may be distinctly recognizable on the air. + * In AP mode, the created network does not broadcast its SSID. + * + * Note that marking the network as hidden may be a privacy issue for you + * (in infrastructure mode) or client stations (in AP mode), as the explicit + * probe-scans are distinctly recognizable on the air. + * **/ /* ---ifcfg-rh--- * property: hidden diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c index b700c7f5..950418b9 100644 --- a/libnm-core/nm-utils.c +++ b/libnm-core/nm-utils.c @@ -5990,7 +5990,9 @@ attribute_unescape (const char *start, const char *end) * Parse attributes from a string. * * Returns: (transfer full) (element-type utf8 GVariant): a #GHashTable mapping - * attribute names to #GVariant values. + * attribute names to #GVariant values. Warning: the variant are still floating + * references, owned by the hash table. If you take a reference, ensure to sink + * the one of the hash table first. * * Since: 1.8 */ |