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-11-27 14:42:34 +0100
commit20cf26f89da137599c12950057f34fde67f85fe7 (patch)
tree43ee0b38ab90d2498b94a24aeb7ba5e0703a7903 /src/tools/wg.c
parentreresolve-dns: remove invalid anchors on regex match (diff)
downloadwireguard-monolithic-historical-20cf26f89da137599c12950057f34fde67f85fe7.tar.xz
wireguard-monolithic-historical-20cf26f89da137599c12950057f34fde67f85fe7.zip
tools: add syncconf command
Diffstat (limited to '')
-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" }