Add the "fsck" command to the CLI.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 15 Jan 2015 21:57:56 +0000 (22:57 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 15 Jan 2015 22:06:38 +0000 (23:06 +0100)
commit268e3ffca7b45cfc736e1bc9bec7a113c6c45701
treec83f2fc87b8f2aebc906ced32c9fe1948f5d020f
parenta95e182d9ca54960383bfe3950b2b798e1f24f9e
Add the "fsck" command to the CLI.

This will report possible problems in the configuration files, and in
some cases offers to fix them.

The code is far from perfect yet. It expects keys to be in their default
locations, it doesn't check for Public/PrivateKey[File] statemetns yet.
It also does not correctly handle Ed25519 public keys yet.
doc/tinc.8.in
doc/tinc.texi
src/Makefile.am
src/fsck.c [new file with mode: 0644]
src/fsck.h [new file with mode: 0644]
src/tincctl.c
src/tincctl.h