diff --git a/redirect_nftables_rules.go b/redirect_nftables_rules.go index fe432f5..968a27d 100644 --- a/redirect_nftables_rules.go +++ b/redirect_nftables_rules.go @@ -424,7 +424,7 @@ func (r *autoRedirect) nftablesCreateExcludeRules(nft *nftables.Conn, table *nft &expr.Cmp{ Op: expr.CmpOpNeq, Register: 1, - Data: binaryutil.BigEndian.PutUint32(r.tunOptions.IncludeUID[0].Start), + Data: binaryutil.NativeEndian.PutUint32(r.tunOptions.IncludeUID[0].Start), }, &expr.Counter{}, &expr.Verdict{