WireGuard / wgctrl-go

Package wgctrl enables control of WireGuard interfaces on multiple platforms.
https://godoc.org/golang.zx2c4.com/wireguard/wgctrl
MIT License
727 stars 85 forks source link

Does the ConfigureDevice operation remove all existing sessions? #78

Closed rkt2spc closed 4 years ago

rkt2spc commented 4 years ago

Is it doing the same thing as wg syncconf?

mdlayher commented 4 years ago

Only if ReplacePeers is true. Please see the GoDoc documentation.