Attempt to fix windows lint errors again
This commit is contained in:
@@ -47,7 +47,7 @@ func Handler(packets chan packet.Packet) {
|
|||||||
packetInfo, err := RecvVerdictRequest()
|
packetInfo, err := RecvVerdictRequest()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// Check if we are done with processing.
|
// Check if we are done with processing.
|
||||||
if errors.Is(ErrKextNotReady) {
|
if errors.Is(err, ErrKextNotReady) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Windows specific constants for the WSAIoctl interface.
|
// Windows specific constants for the WSAIoctl interface.
|
||||||
const ( //nolint:golint
|
//nolint:golint
|
||||||
|
const (
|
||||||
SIO_RCVALL = syscall.IOC_IN | syscall.IOC_VENDOR | 1
|
SIO_RCVALL = syscall.IOC_IN | syscall.IOC_VENDOR | 1
|
||||||
|
|
||||||
RCVALL_OFF = 0
|
RCVALL_OFF = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user