]> git.meshlink.io Git - meshlink/commitdiff
Don't add duplicates to the list of recently seen addresses.
authorGuus Sliepen <guus@meshlink.io>
Fri, 6 Dec 2019 20:47:11 +0000 (21:47 +0100)
committerGuus Sliepen <guus@meshlink.io>
Fri, 6 Dec 2019 20:47:11 +0000 (21:47 +0100)
Duplicate addresses would be appended to the list, and could push out other
addresses. If the address already exists, only move it to the top if it is
not already there.

Also don't force an immediate write of the host config file when trying to
add an address that already exists.


No differences found