Development
This commit is contained in:
parent
db837af548
commit
64f83d683e
8 changed files with 237 additions and 26 deletions
|
|
@ -300,7 +300,7 @@ def set_freeradius_eap(data):
|
|||
content4 = _patch_setting_in_block(content4, inner_block, 'default_eap_type', inner_protocol)
|
||||
|
||||
auth_mode = opts.get('auth_mode', 'mab')
|
||||
if auth_mode == 'eap_credential':
|
||||
if auth_mode == 'eap_certificate':
|
||||
il_val = 'yes' if opts.get('include_length', False) else 'no'
|
||||
content4 = _patch_setting_in_block(content4, 'tls', 'include_length', il_val)
|
||||
elif eap_protocol in ('eap_peap', 'eap_ttls'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue