libwg-go: Saner way to deal with sockets
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -36,6 +36,7 @@ func (l AndroidLogger) Write(p []byte) (int, error) {
|
||||
var tunnelHandles map[int32]*Device
|
||||
|
||||
func init() {
|
||||
roamingDisabled = true
|
||||
tunnelHandles = make(map[int32]*Device)
|
||||
signals := make(chan os.Signal)
|
||||
signal.Notify(signals, unix.SIGUSR2)
|
||||
|
||||
+1
-1
Submodule app/tools/wireguard-go updated: 778ff80424...1794f1f485
Reference in New Issue
Block a user