diff --git a/gestion/gen_confs/switchs.py b/gestion/gen_confs/switchs.py index a2f6aad2..15f11a08 100644 --- a/gestion/gen_confs/switchs.py +++ b/gestion/gen_confs/switchs.py @@ -412,6 +412,7 @@ exit # Vlan wifi uniquement if wifi == 1 : prise_params['nom'] = "Wifi_%s" % m.nom().split(".")[0] + vlans['default'].append(prise) # Certaines bornes sont dans des chambres, est-ce le cas ? if prise_chbres.has_key(annu_prise): chbres = prise_chbres[annu_prise] @@ -419,7 +420,6 @@ exit if len(chbres) > 1 : prise_params['nom'] += 's' for chbre in chbres : prise_params['nom'] += '_%s%s' % (bat.upper(), chbre) - vlans['default'].append(prise) else : prise_params['nom'] = "Wifi" vlans['hotspot_tagged'].append(prise)