mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 08:18:03 +02:00
libnm-core: add keyfile writer for team link watcher
Allow tests to dump the content of the property when getting a failure.
This commit is contained in:
parent
363a2cfe95
commit
0d8fcc39ab
1 changed files with 12 additions and 0 deletions
|
|
@ -501,6 +501,15 @@ cert_writer (KeyfileWriterInfo *info,
|
||||||
cert_writer_default (info->connection, info->keyfile, &type_data);
|
cert_writer_default (info->connection, info->keyfile, &type_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
team_link_watcher_writer (KeyfileWriterInfo *info,
|
||||||
|
NMSetting *setting,
|
||||||
|
const char *key,
|
||||||
|
const GValue *value)
|
||||||
|
{
|
||||||
|
/* skip */
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
@ -576,6 +585,9 @@ static KeyWriter key_writers[] = {
|
||||||
{ NM_SETTING_802_1X_SETTING_NAME,
|
{ NM_SETTING_802_1X_SETTING_NAME,
|
||||||
NM_SETTING_802_1X_PHASE2_PRIVATE_KEY,
|
NM_SETTING_802_1X_PHASE2_PRIVATE_KEY,
|
||||||
cert_writer },
|
cert_writer },
|
||||||
|
{ NM_SETTING_TEAM_SETTING_NAME,
|
||||||
|
NM_SETTING_TEAM_LINK_WATCHERS,
|
||||||
|
team_link_watcher_writer},
|
||||||
{ NULL, NULL, NULL }
|
{ NULL, NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue