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