aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/src/tui/controllers
diff options
context:
space:
mode:
authorArturo FilastoĢ€ <hellais@torproject.org>2011-08-25 01:57:59 +0200
committerArturo FilastoĢ€ <hellais@torproject.org>2011-08-25 01:57:59 +0200
commit2da67986a68571789172cc1f469f2d010d8128de (patch)
tree9dd26d05d27049b90cda7870bee71d5b6d5f94b3 /packages/torouter-web/src/tui/controllers
parent817713dc33ae88217b61c73d4b9b0446a1a89855 (diff)
downloadtorouter-2da67986a68571789172cc1f469f2d010d8128de.tar.gz
torouter-2da67986a68571789172cc1f469f2d010d8128de.zip
Make the network interfaces be inside config.py
Diffstat (limited to 'packages/torouter-web/src/tui/controllers')
-rw-r--r--packages/torouter-web/src/tui/controllers/network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/torouter-web/src/tui/controllers/network.py b/packages/torouter-web/src/tui/controllers/network.py
index 6b62da7..598d332 100644
--- a/packages/torouter-web/src/tui/controllers/network.py
+++ b/packages/torouter-web/src/tui/controllers/network.py
@@ -81,7 +81,7 @@ class wireless:
itfc.set_mac(data.mac)
itfc.wifi['netmask'] = data.netmask
itfc.wifi['address'] = data.address
- filecontent = itfc.exclude_output("wlan0") + itfc.output(itfc.wifi)
+ filecontent = itfc.exclude_output(config.network_interfaces[0]) + itfc.output(itfc.wifi)
files = [('/etc/network/interfaces', filecontent)]
fileio.write(files)
#print itfc.output(itfc.wifi)