]> git.meshlink.io Git - meshlink/commit
Don't append duplicate entries to configuration files.
authorGuus Sliepen <guus@meshlink.io>
Tue, 13 Oct 2015 12:12:13 +0000 (14:12 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sun, 25 Jun 2017 08:19:17 +0000 (10:19 +0200)
commit9bc18d95a44be1eea1b39b16e6a6916355b9db08
tree2e6c142beba2e59d993b060c8663bed6f8411fb8
parent9753290f339f4e2d06d11c32b62577827fe44aab
Don't append duplicate entries to configuration files.

Automatically detected addresses are appended to host config files by
Catta. However, it doesn't check whether the address is already known.
Have append_config_file() check that it doesn't write duplicate entries.
src/conf.c