tests: fix
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ func NewNFQueuePacketIO(config NFQueuePacketIOConfig) (PacketIO, error) {
|
||||
}
|
||||
|
||||
func (nio *nfqueuePacketIO) Register(ctx context.Context, cb PacketCallback) error {
|
||||
for i, nq := range nio.nqs {
|
||||
for _, nq := range nio.nqs {
|
||||
nq := nq
|
||||
err := nq.RegisterWithErrorFunc(ctx,
|
||||
func(a nfqueue.Attribute) int {
|
||||
|
||||
Reference in New Issue
Block a user