From cfc394288a5d0f895afd10f86a611a7c8a321672 Mon Sep 17 00:00:00 2001 From: dubost Date: Fri, 31 Aug 2007 14:42:10 +0200 Subject: [PATCH] Extenson ip wifi darcs-hash:20070831124210-c3cc4-35ae4230732384393879c09ebaa307f8ae9f56be.gz --- gestion/arp.py | 2 +- gestion/gen_confs/dhcpd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/arp.py b/gestion/arp.py index 27003a8b..8a8fe5e8 100755 --- a/gestion/arp.py +++ b/gestion/arp.py @@ -91,7 +91,7 @@ class ARPFactory(protocol.ServerFactory): # On écoute sur le port 5243 et on ne répond qu'aux requêtes concernant le # sous-réseau wifi application = service.Application('arp') -factory = ARPFactory('138.231.148.0/22') +factory = ARPFactory('138.231.148.0/21') # Remplacer SSL par TCP pour ne pas utiliser SSL et virer ServerContextFactory internet.SSLServer(5243, factory, ServerContextFactory()).setServiceParent(service.IServiceCollection(application)) diff --git a/gestion/gen_confs/dhcpd.py b/gestion/gen_confs/dhcpd.py index a7a2b046..d30f2a9c 100755 --- a/gestion/gen_confs/dhcpd.py +++ b/gestion/gen_confs/dhcpd.py @@ -61,7 +61,7 @@ option option-119 code 119 = text ; option domain-name "crans.org"; option option-119 "crans.org wifi.crans.org";""" } elif hostname == 'ragnarok': - reseaux = { '138.231.148.0/22' : + reseaux = { '138.231.144.0/21' : """option routers 138.231.148.1; option domain-name-servers 138.231.148.1; option domain-name "crans.org";