Commit Graph

1 Commits

Author SHA1 Message Date
xiaoff f86e4dccba
Fix: add NFTA_RULE_COMPAT attribute
xt_matches or xt_targets like xt_tcpudp may have specific compat policy and
if not set flush rule will error with EINVAL
according to https://elixir.bootlin.com/linux/v3.13/source/net/netfilter/x_tables.c#L563

Signed-off-by: xiaoff <zhaofeng_0019@163.com>
2022-12-07 13:19:41 +08:00