netfilter: xtables: make use of caller family rather than match family
The matches can have .family = NFPROTO_UNSPEC, and though that is not
the case for the touched modules, it seems better to just use the
nfproto from the caller.
Signed-off-by: NJan Engelhardt <jengelh@medozas.de>
Showing
想要评论请 注册 或 登录