Apply formatting fixes

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
Vasyl Gello 2023-11-27 15:53:13 +00:00
parent ad7ea39e31
commit 4069104169
2 changed files with 3 additions and 3 deletions

View file

@ -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{}
}
}