8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

Merge branch 'feature_pre_subscribtion_vlan' of https://gitlab.federez.net/federez/re2o into feature_pre_subscribtion_vlan

This commit is contained in:
Hugo LEVY-FALK 2018-12-08 21:37:18 +01:00
commit e0b920c3d6

View file

@ -514,7 +514,7 @@ def decide_vlan_switch(nas_machine, nas_type, port_number,
# Enfin on laisse passer sur le vlan pertinent # Enfin on laisse passer sur le vlan pertinent
else: else:
room = port.room room = port.room
if interface.machine.user.is_banned(): if interface.machine.user.is_ban():
return ( return (
sw_name, sw_name,
room, room,