ifcfg: add support for "802-1x.system-ca-certs" setting
This commit is contained in:
@@ -3506,6 +3506,11 @@ next:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
g_object_set (s_8021x,
|
||||
NM_SETTING_802_1X_SYSTEM_CA_CERTS,
|
||||
svGetValueBoolean (ifcfg, "IEEE_8021X_SYSTEM_CA_CERTS", FALSE),
|
||||
NULL);
|
||||
|
||||
nm_clear_g_free (&value);
|
||||
v = svGetValueStr (ifcfg, "IEEE_8021X_SUBJECT_MATCH", &value);
|
||||
g_object_set (s_8021x, NM_SETTING_802_1X_SUBJECT_MATCH, v, NULL);
|
||||
|
@@ -419,6 +419,10 @@ write_8021x_setting (NMConnection *connection,
|
||||
nm_setting_802_1x_get_password_raw_flags (s_8021x));
|
||||
g_free (tmp);
|
||||
|
||||
svSetValueBoolean_cond_true (ifcfg,
|
||||
"IEEE_8021X_SYSTEM_CA_CERTS",
|
||||
nm_setting_802_1x_get_system_ca_certs (s_8021x));
|
||||
|
||||
/* PEAP version */
|
||||
value = nm_setting_802_1x_get_phase1_peapver (s_8021x);
|
||||
svUnsetValue (ifcfg, "IEEE_8021X_PEAP_VERSION");
|
||||
|
Reference in New Issue
Block a user