add send/recv queues for link

This commit is contained in:
Asim Aslam
2019-10-23 16:05:21 +01:00
parent 5ac5865154
commit 842fc01568
2 changed files with 170 additions and 60 deletions

View File

@@ -427,7 +427,7 @@ func (t *tun) listen(link *link) {
// process anything via the net interface
msg := new(transport.Message)
if err := link.Recv(msg); err != nil {
log.Debugf("Tunnel link %s receive error: %#v", link.Remote(), err)
log.Debugf("Tunnel link %s receive error: %v", link.Remote(), err)
return
}