From 2dc2a4b1c90db8be70dd86ab2684861a6c383b5e Mon Sep 17 00:00:00 2001 From: chove Date: Wed, 7 Sep 2005 19:26:39 +0200 Subject: [PATCH] petit bug darcs-hash:20050907172639-4ec08-4a8be7661635b5c9b7f2b9452f32f2f71eccdd3a.gz --- gestion/ldap_crans.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 516c306d..c63f98d2 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1822,7 +1822,7 @@ class machine(base_classes_crans) : self._data={ 'objectClass' : [ 'machine' ] } if typ == 'borne' : # Valeurs par défaut - self._data['canal'] = [ '1-13' ] + self._data['canal'] = [ '2047' ] self._data['puissance'] = [ '60' ] self._init_data={} self.__typ = typ @@ -2291,7 +2291,7 @@ class machine(base_classes_crans) : if 'canal' in self.modifs or 'puissance' in self.modifs : self.services_to_restart('bornes_wifi',[self.nom()]) self.services_to_restart('conf_wifi_ng') - + # Reconfiguration clients wifi ? if self.__typ == 'wifi' and ( 'ipHostNumber' in self.modifs or 'host' in self.modifs or 'macAddress' in self.modifs ) : self.services_to_restart('conf_wifi')