TEE: limit iptables module to NFPROTO_IPV4

The code here is only usable with IPv4.
This commit is contained in:
Jan Engelhardt
2009-01-10 09:57:44 +01:00
parent 31c01cf107
commit 1fd1787a1c

View File

@@ -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 = {
.name = "TEE",
.version = XTABLES_VERSION,
.revision = 0,
.family = PF_INET,
.size = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
.userspacesize = XT_ALIGN(sizeof(struct xt_tee_tginfo)),
.help = tee_tg_help,