Fix linter errors

This commit is contained in:
Daniel
2023-04-25 14:37:29 +02:00
parent 34e035858d
commit 5bb2813459
14 changed files with 17 additions and 14 deletions

View File

@@ -90,7 +90,7 @@ func New(qid uint16, v6 bool) (*Queue, error) { //nolint:gocognit
return q, nil
}
// open opens a new netlink socket and and creates a new nfqueue.
// open opens a new netlink socket and creates a new nfqueue.
// Upon success, the new nfqueue is atomically stored in Queue.nf.
// Users must use Queue.getNfq to access it. open does not care about
// any other value or queue that might be stored in Queue.nf at