Attempt to fix windows lint errors again

This commit is contained in:
Daniel 2020-10-15 12:18:57 +02:00
parent 0e83268356
commit 5d0db1c250
2 changed files with 3 additions and 2 deletions

View file

@ -47,7 +47,7 @@ func Handler(packets chan packet.Packet) {
packetInfo, err := RecvVerdictRequest()
if err != nil {
// Check if we are done with processing.
if errors.Is(ErrKextNotReady) {
if errors.Is(err, ErrKextNotReady) {
return
}

View file

@ -10,7 +10,8 @@ import (
)
// Windows specific constants for the WSAIoctl interface.
const ( //nolint:golint
//nolint:golint
const (
SIO_RCVALL = syscall.IOC_IN | syscall.IOC_VENDOR | 1
RCVALL_OFF = 0