Development
This commit is contained in:
parent
351ce39558
commit
3b2f645254
4 changed files with 34 additions and 30 deletions
|
|
@ -122,7 +122,7 @@ def collect_tokens(cfg):
|
|||
|
||||
tokens['RADIUS_TUNNELED_REPLY'] = 'true' if fr_opts.get('tunneled_reply', False) else ''
|
||||
tokens['RADIUS_INCLUDE_LENGTH'] = 'true' if fr_opts.get('include_length', False) else ''
|
||||
tokens['RADIUS_MAB_FALLBACK'] = 'true' if fr_opts.get('mab_fallback', False) else ''
|
||||
tokens['RADIUS_MAB_FIRST'] = 'true' if fr_opts.get('mab_first', True) else ''
|
||||
|
||||
vlans = cfg.get('vlans', [])
|
||||
default_vlan = next((v['name'] for v in vlans if v.get('radius_default') is True), '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue