diff options
author | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-23 16:03:21 +0200 |
---|---|---|
committer | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-23 16:03:21 +0200 |
commit | e09646bce65198fdc6dc13ca94b6653059c7ae0b (patch) | |
tree | c1bafeb3e172de6499909634561432e553c1524f /packages/torouter-web/src/tui/utils | |
parent | 74e568fc3ca899b202e839a31ec166f8f8c528c8 (diff) | |
download | torouter-e09646bce65198fdc6dc13ca94b6653059c7ae0b.tar.gz torouter-e09646bce65198fdc6dc13ca94b6653059c7ae0b.zip |
Use wlan0 instead of uap0
Diffstat (limited to 'packages/torouter-web/src/tui/utils')
-rw-r--r-- | packages/torouter-web/src/tui/utils/parsing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/torouter-web/src/tui/utils/parsing.py b/packages/torouter-web/src/tui/utils/parsing.py index b4dbaee..4d52c87 100644 --- a/packages/torouter-web/src/tui/utils/parsing.py +++ b/packages/torouter-web/src/tui/utils/parsing.py @@ -27,7 +27,7 @@ class interfaces: def parse_line(self, line, iface): name = line.split(" ")[0] values = " ".join(line.split(" ")[1:]).rstrip() - if iface == "uap0": + if iface == "wlan0": if self.wifi.has_key(name): if type(self.wifi[name]) is list: self.wifi[name].append(values) @@ -99,7 +99,7 @@ class interfaces: # XXX currently works for one pre-up entry, must make it work also for arrays def set_mac(self, mac): - self.wifi['pre-up'] = 'ifconfig uap0 hw ether ' + mac + self.wifi['pre-up'] = 'ifconfig wlan0 hw ether ' + mac class torrc: |