Browse Source

Update main.py

disable ipv6 on hotspot interface
develop
dennisdebel 11 years ago
parent
commit
975f4e3dec
  1. 1
      main.py

1
main.py

@ -15,6 +15,7 @@ class Meshenger:
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-hotspot/disable_ipv6")
self.own_ip = self.get_ip_adress()
if not os.path.exists(self.msg_dir):

Loading…
Cancel
Save