Development
This commit is contained in:
parent
a94863e25a
commit
dc2be3e5aa
4 changed files with 29 additions and 1 deletions
|
|
@ -295,6 +295,10 @@ def set_freeradius_eap(data):
|
|||
inner_block = 'peap' if eap_protocol == 'eap_peap' else 'ttls'
|
||||
content4 = _patch_setting_in_block(content4, inner_block, 'default_eap_type', inner_protocol)
|
||||
|
||||
if eap_protocol == 'eap_ttls':
|
||||
il_val = 'yes' if opts.get('include_length', False) else 'no'
|
||||
content4 = _patch_setting_in_block(content4, 'ttls', 'include_length', il_val)
|
||||
|
||||
if content4 == content:
|
||||
return False
|
||||
RADIUS_EAP_FILE.write_text(content4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue