aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-07-28 10:57:54 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-07-28 10:58:05 +0200
commit37ed947239f4b3ef161c85428d9267eb23a69d69 (patch)
tree53b9514c9ce879d09b7baaa063758e01c1eab090
parentsystemd: add reload target to systemd unit (diff)
downloadwireguard-tools-37ed947239f4b3ef161c85428d9267eb23a69d69.tar.xz
wireguard-tools-37ed947239f4b3ef161c85428d9267eb23a69d69.zip
man: wg-quick: use syncconf instead of addconf for strip example
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/man/wg-quick.82
1 files changed, 1 insertions, 1 deletions
diff --git a/src/man/wg-quick.8 b/src/man/wg-quick.8
index c693a89..92c0218 100644
--- a/src/man/wg-quick.8
+++ b/src/man/wg-quick.8
@@ -254,7 +254,7 @@ This will load the configuration file `/etc/wireguard/wgnet0.conf'.
The \fIstrip\fP command is useful for reloading configuration files without disrupting active
sessions:
-\fB # wg addconf wgnet0 <(wg-quick strip wgnet0)\fP
+\fB # wg syncconf wgnet0 <(wg-quick strip wgnet0)\fP
(Note that the above command will add and update peers but will not remove peers.)