version 1.1.1.1, 2020/06/03 09:46:45
|
version 1.1.1.2, 2021/03/17 00:20:09
|
Line 1009 METHOD(task_t, build_r, status_t,
|
Line 1009 METHOD(task_t, build_r, status_t,
|
if (!this->ike_sa->supports_extension(this->ike_sa, |
if (!this->ike_sa->supports_extension(this->ike_sa, |
EXT_EAP_ONLY_AUTHENTICATION)) |
EXT_EAP_ONLY_AUTHENTICATION)) |
{ |
{ |
DBG1(DBG_IKE, "configured EAP-only authentication, but peer " | if (lib->settings->get_bool(lib->settings, |
"does not support it"); | "%s.force_eap_only_authentication", FALSE, lib->ns)) |
goto peer_auth_failed; | { |
| DBG1(DBG_IKE, "ignore missing %N notify and use EAP-only " |
| "authentication", notify_type_names, |
| EAP_ONLY_AUTHENTICATION); |
| } |
| else |
| { |
| DBG1(DBG_IKE, "configured EAP-only authentication, but " |
| "peer does not support it"); |
| goto peer_auth_failed; |
| } |
} |
} |
} |
} |
else |
else |