diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-11 19:22:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-11-27 14:42:34 +0100 |
commit | 20cf26f89da137599c12950057f34fde67f85fe7 (patch) | |
tree | 43ee0b38ab90d2498b94a24aeb7ba5e0703a7903 /src/tools/wg.c | |
parent | reresolve-dns: remove invalid anchors on regex match (diff) | |
download | wireguard-monolithic-historical-20cf26f89da137599c12950057f34fde67f85fe7.tar.xz wireguard-monolithic-historical-20cf26f89da137599c12950057f34fde67f85fe7.zip |
tools: add syncconf command
Diffstat (limited to '')
-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" } |