Skip to content

Commit b44ae25

Browse files
committed
fix queue number
1 parent 011e173 commit b44ae25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

providers/http/nfqueue/nfqueue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (w *HTTPProvider) serve(domain, token, keyAuth string) error {
6060
return err
6161
}
6262
config := nfqueue.Config{
63-
NfQueue: 100,
63+
NfQueue: 8555,
6464
MaxPacketLen: 0xFFFF,
6565
MaxQueueLen: 0xFF,
6666
Copymode: nfqueue.NfQnlCopyPacket,
@@ -93,7 +93,7 @@ func (w *HTTPProvider) serve(domain, token, keyAuth string) error {
9393
} else {
9494
//ipv6
9595
ipv6Layer := payload.Layer(layers.LayerTypeIPv6)
96-
ip, _ := ipv6Layer.(*layers.IPv4)
96+
ip, _ := ipv6Layer.(*layers.IPv6)
9797
srcip = ip.SrcIP
9898
}
9999
if tcpLayer := payload.Layer(layers.LayerTypeTCP); tcpLayer != nil {

0 commit comments

Comments
 (0)