Skip to content

Commit

Permalink
Merge pull request #13 from crowdsecurity/fix_nft_ipv4
Browse files Browse the repository at this point in the history
fix nft ipv4 check
  • Loading branch information
buixor authored Dec 3, 2020
2 parents a756382 + 34366c5 commit 6ac8964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nftables.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (n *nft) Init() error {
&expr.Payload{
DestRegister: 1,
Base: expr.PayloadBaseNetworkHeader,
Offset: 16,
Offset: 12,
Len: 4,
},
// [ lookup reg 1 set whitelist ]
Expand Down

0 comments on commit 6ac8964

Please sign in to comment.