mirror of
https://github.com/9001/copyparty.git
synced 2025-10-06 03:50:30 +02:00
optional linklocal ipv6 support (firefox/ie11 only)
This commit is contained in:
parent
9a28afcb48
commit
6cd6dadd06
4 changed files with 8 additions and 3 deletions
|
@ -183,7 +183,9 @@ class MCast(object):
|
|||
srv.ips[oth_ip.split("/")[0]] = ipaddress.ip_network(oth_ip, False)
|
||||
|
||||
# gvfs breaks if a linklocal ip appears in a dns reply
|
||||
srv.ips = {k: v for k, v in srv.ips.items() if not k.startswith("fe80")}
|
||||
if not self.args.ll:
|
||||
srv.ips = {k: v for k, v in srv.ips.items() if not k.startswith("fe80")}
|
||||
|
||||
if not srv.ips:
|
||||
self.log("no routable IPs on {}; skipping [{}]".format(netdev, ip), 3)
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue