Route Update Fails if Swapped Quickly
Steps to Reproduce
- Create a route for
<lan> via <ip A> - Wait for the route to populate in network
- Create a route for
<lan> via <ip B> - Delete the route for
<lan> via <ip A>
Expected Behavior
The route <lan> via <ip A> no longer exists and the route <lan> via <ip B> is now present.
Actual Behavior
The route <lan> via <ip A> is never deleted.
Workaround
The workaround (which results in all routes being fixed almost immediately) is to first delete the route <lan> via <ip A>, wait a few seconds, and then add the new route.
Thanks for writing. Just to double check, this is an issue with the web ui / configuration, not the zerotier-one client.
The network settings UI does need work.
This is (AFAIK) an issue with the client. I waited several minutes for my client(s) to get the routing update (after the swap) but they never did. Once I went back to the web UI deleted the route I just added, waited for the route to drop on my client, and then readded it, all was well (almost instantly).