mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 20:40:06 +01:00
libnm-glib: add missing NMSettingHashFlags argument to NMSecretAgentGetSecretsFunc docs
The nm_connection_to_hash() call in the NMSecretAgentGetSecretsFunc documentation missed the last argument. This patch adds NM_SETTING_HASH_FLAG_ALL as the last argument in the example.
This commit is contained in:
parent
b95b6c8aa1
commit
48a84c1271
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ typedef struct {
|
|||
* NM_SETTING_WIRELESS_SECURITY_PSK, "my really cool PSK",
|
||||
* NULL);
|
||||
* nm_connection_add_setting (secrets, NM_SETTING (s_wsec));
|
||||
* secrets_hash = nm_connection_to_hash (secrets);
|
||||
* secrets_hash = nm_connection_to_hash (secrets, NM_SETTING_HASH_FLAG_ALL);
|
||||
*
|
||||
* (call the NMSecretAgentGetSecretsFunc with secrets_hash)
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue