Update main.py

disable ipv6 on hotspot interface
This commit is contained in:
dennisdebel 2014-04-28 14:12:21 +02:00
parent cf5ea7ccf5
commit 975f4e3dec

View File

@ -15,6 +15,7 @@ class Meshenger:
def __init__(self): def __init__(self):
os.system("echo 1 >> /proc/sys/net/ipv6/conf/br-lan/disable_ipv6") os.system("echo 1 >> /proc/sys/net/ipv6/conf/br-lan/disable_ipv6")
os.system("echo 1 >> /proc/sys/net/ipv6/conf/br-hotspot/disable_ipv6")
self.own_ip = self.get_ip_adress() self.own_ip = self.get_ip_adress()
if not os.path.exists(self.msg_dir): if not os.path.exists(self.msg_dir):