mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
make failed sends a debug log, instead of error
This commit is contained in:
parent
50bd16d524
commit
3b38ed082f
2 changed files with 5 additions and 3 deletions
|
@ -18,7 +18,7 @@ func (tun *TunAdapter) read() {
|
|||
end := begin + n
|
||||
bs := buf[begin:end]
|
||||
if _, err := tun.core.Write(bs); err != nil {
|
||||
tun.log.Errorln("Unable to send packet:", err)
|
||||
tun.log.Debugln("Unable to send packet:", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue