diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-11 19:22:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-11 19:41:02 +0200 |
commit | 096e54a8c05389a090ad4a25d892c4516c62591d (patch) | |
tree | 88939de0a4d828c74bb0299d05b6fb7e3e1cbe0a /src/tools/wg.c | |
parent | blake2s: spacing (diff) | |
download | wireguard-monolithic-historical-jd/syncconf.tar.xz wireguard-monolithic-historical-jd/syncconf.zip |
tools: add syncconf commandjd/syncconf
Diffstat (limited to 'src/tools/wg.c')
-rw-r--r-- | src/tools/wg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/wg.c b/src/tools/wg.c index 550d9b4..7b5d3af 100644 --- a/src/tools/wg.c +++ b/src/tools/wg.c @@ -21,6 +21,7 @@ static const struct { { "set", set_main, "Change the current configuration, add peers, remove peers, or change peers" }, { "setconf", setconf_main, "Applies a configuration file to a WireGuard interface" }, { "addconf", setconf_main, "Appends a configuration file to a WireGuard interface" }, + { "syncconf", setconf_main, "Synchronizes a configuration file to a WireGuard interface" }, { "genkey", genkey_main, "Generates a new private key and writes it to stdout" }, { "genpsk", genkey_main, "Generates a new preshared key and writes it to stdout" }, { "pubkey", pubkey_main, "Reads a private key from stdin and writes a public key to stdout" } |