Commit 8b0e8816 authored by Hamza Dely's avatar Hamza Dely

Pour la protection anti-squattage, on met sur le VLAN 7 au lieu de rejetter

parent 1febcafe
......@@ -676,7 +676,17 @@ class RadiusEventHandler(object):
request.get('Calling-Station-Id', None)
return radiusd.RLM_MODULE_REJECT
return (
('Tunnel-Type', 'VLAN'),
('Tunnel-Medium-Type', 'IEEE-802'),
('Tunnel-Private-Group-ID', VLAN_ACCUEIL),
('Class', VLAN_ACCUEIL),
('Acct-Interim-Interval', ACCT_INTERIM_INTERVAL),
if not is_registered(machine):
# La machine vient d'être enregistrée, on lui associe la
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment