mirror of
https://github.com/safing/portmaster
synced 2025-09-02 10:39:22 +00:00
Update MaxPackageLen to be a bit bigger than default MTU
This commit is contained in:
parent
7d25f9f4f4
commit
bd681cd01f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func New(qid uint16, v6 bool) (*Queue, error) {
|
|||
}
|
||||
cfg := &nfqueue.Config{
|
||||
NfQueue: qid,
|
||||
MaxPacketLen: 0xff,
|
||||
MaxPacketLen: 1600, // mtu is normally around 1500, make sure to capture it.
|
||||
MaxQueueLen: 0xffff,
|
||||
AfFamily: uint8(afFamily),
|
||||
Copymode: nfqueue.NfQnlCopyPacket,
|
||||
|
|
Loading…
Add table
Reference in a new issue