Hi, I noticed that wg syncconf does not actually clear PresharedKey and PersistentKeepalive values if those are not set in the file but set in the running config. The proposed patch changes that to always clear those if they are not set in the configuration file, which imho is the correct behavior.
Andreas Andreas Weigel (1): wg syncconf: explicitly reset PresharedKey/PersistentKeepalive src/setconf.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.25.1