mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-09 22:24:58 +02:00
TEE: limit iptables module to NFPROTO_IPV4
The code here is only usable with IPv4.
This commit is contained in:
@@ -98,6 +98,8 @@ static void tee_tg_save(const void *ip, const struct xt_entry_target *target)
|
|||||||
static struct xtables_target tee_tg_reg = {
|
static struct xtables_target tee_tg_reg = {
|
||||||
.name = "TEE",
|
.name = "TEE",
|
||||||
.version = XTABLES_VERSION,
|
.version = XTABLES_VERSION,
|
||||||
|
.revision = 0,
|
||||||
|
.family = PF_INET,
|
||||||
.size = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
|
.size = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
|
||||||
.userspacesize = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
|
.userspacesize = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
|
||||||
.help = tee_tg_help,
|
.help = tee_tg_help,
|
||||||
|
Reference in New Issue
Block a user