Skip to content

Commit

Permalink
Merge pull request #2 from alanjds/moto_defy
Browse files Browse the repository at this point in the history
[FIX] Not recognizing IP on interface 'tiwlanX' (Defy+)
  • Loading branch information
tito committed Jan 18, 2014
2 parents a8f4055 + d524a77 commit cf1bc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self, **kwargs):
ip = socket.gethostbyname(socket.gethostname())
if ip.startswith('127.'):
interfaces = ['eth0', 'eth1', 'eth2', 'wlan0', 'wlan1', 'wifi0',
'ath0', 'ath1', 'ppp0']
'tiwlan0', 'tiwlan1', 'ath0', 'ath1', 'ppp0']
for ifname in interfaces:
try:
ip = self.get_interface_ip(ifname)
Expand Down

0 comments on commit cf1bc76

Please sign in to comment.