mirror of
https://github.com/yggdrasil-network/yggstack.git
synced 2025-04-28 22:25:08 +03:00
Apply formatting fixes
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
parent
ad7ea39e31
commit
4069104169
2 changed files with 3 additions and 3 deletions
|
@ -102,12 +102,12 @@ func (e *YggdrasilNIC) WritePackets(
|
|||
n, err := vv.Read(e.writeBuf)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
return i-1, &tcpip.ErrAborted{}
|
||||
return i - 1, &tcpip.ErrAborted{}
|
||||
}
|
||||
_, err = e.ipv6rwc.Write(e.writeBuf[:n])
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
return i-1, &tcpip.ErrAborted{}
|
||||
return i - 1, &tcpip.ErrAborted{}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue