From b4a8a18797335de6d3d416e14a2ad769219426db Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 28 Jul 2020 10:57:54 +0200 Subject: man: wg-quick: use syncconf instead of addconf for strip example Signed-off-by: Jason A. Donenfeld --- src/man/wg-quick.8 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/man/wg-quick.8 b/src/man/wg-quick.8 index c693a89..b84eb64 100644 --- a/src/man/wg-quick.8 +++ b/src/man/wg-quick.8 @@ -254,9 +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 - -(Note that the above command will add and update peers but will not remove peers.) +\fB # wg syncconf wgnet0 <(wg-quick strip wgnet0)\fP .SH SEE ALSO .BR wg (8), -- cgit v1.2.3-59-g8ed1b