Netlink sockets can't be shutdown
This commit is contained in:
parent
2dfd4e7d8c
commit
795f76cffa
4 changed files with 69 additions and 25 deletions
4
main.go
4
main.go
|
|
@ -221,14 +221,10 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
// create wireguard device
|
||||
|
||||
device := NewDevice(tun, logger)
|
||||
|
||||
logger.Info.Println("Device started")
|
||||
|
||||
// start uapi listener
|
||||
|
||||
errs := make(chan error)
|
||||
term := make(chan os.Signal)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue