mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 22:55:06 +03:00
Tweak logging
This commit is contained in:
parent
f6f669617f
commit
fef553ed18
4 changed files with 7 additions and 7 deletions
|
@ -29,7 +29,7 @@ func (tun *TunAdapter) write() {
|
|||
bs := buf[TUN_OFFSET_BYTES:]
|
||||
n, err := tun.rwc.Read(bs)
|
||||
if err != nil {
|
||||
tun.log.Errorln("Exiting tun writer due to core read error:", err)
|
||||
tun.log.Errorln("Exiting TUN writer due to core read error:", err)
|
||||
return
|
||||
}
|
||||
if !tun.isEnabled {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue