Fix linter errors

This commit is contained in:
Daniel
2020-09-23 14:12:23 +02:00
parent 12b0ff973d
commit af056780fc
5 changed files with 21 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ type Queue struct {
}
// New opens a new nfQueue.
func New(qid uint16, v6 bool) (*Queue, error) {
func New(qid uint16, v6 bool) (*Queue, error) { //nolint:gocognit
afFamily := unix.AF_INET
if v6 {
afFamily = unix.AF_INET6