zerotier / toss

Dead simple LAN file transfers from the command line
Other
399 stars 23 forks source link

This hacks the token parsing to make it work for localhost as well #4

Open AlexisTM opened 3 years ago

AlexisTM commented 3 years ago

This fixes #1

It reorganizes the while loop to have interleaving IPv6 and IPv4 (as intended) while fixing the assumption that n_ipv6 == n_ipv4.

The bug can probably be reproduced by installing docker or qemu that creates interfaces without IPv6.