aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/wg.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-11 19:22:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-11 19:41:02 +0200
commit096e54a8c05389a090ad4a25d892c4516c62591d (patch)
tree88939de0a4d828c74bb0299d05b6fb7e3e1cbe0a /src/tools/wg.c
parentblake2s: spacing (diff)
downloadwireguard-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.c1
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" }