aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/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
commitae374129ab46d7cfc6f089e6a1ad71968764397d (patch)
tree27f578e9ced87886880b891ab27a20203002ae4c /src/wg.c
parentreresolve-dns: remove invalid anchors on regex match (diff)
downloadwireguard-tools-ae374129ab46d7cfc6f089e6a1ad71968764397d.tar.xz
wireguard-tools-ae374129ab46d7cfc6f089e6a1ad71968764397d.zip
wg: add syncconf command
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--src/wg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wg.c b/src/wg.c
index 550d9b4..7b5d3af 100644
--- a/src/wg.c
+++ b/src/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" }