Update main.py
disable ipv6 on hotspot interface
This commit is contained in:
parent
cf5ea7ccf5
commit
975f4e3dec
1
main.py
1
main.py
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user