mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
Typo sur la vérification de bannissement.
This commit is contained in:
parent
2702d7c116
commit
b2be55a909
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ def decide_vlan_switch(nas_machine, nas_type, port_number,
|
|||
# Enfin on laisse passer sur le vlan pertinent
|
||||
else:
|
||||
room = port.room
|
||||
if interface.machine.user.is_banned():
|
||||
if interface.machine.user.is_ban():
|
||||
return (
|
||||
sw_name,
|
||||
room,
|
||||
|
|
Loading…
Reference in a new issue