Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f88e6a8a authored by Jan Engelhardt's avatar Jan Engelhardt
Browse files

netfilter: xtables: switch table AFs to nfproto

parent 24c232d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ static struct xt_table packet_filter = {
	.name		= "filter",
	.valid_hooks	= FILTER_VALID_HOOKS,
	.me		= THIS_MODULE,
	.af		= AF_INET,
	.af		= NFPROTO_IPV4,
};

/* The work comes in here from netfilter.c. */
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ static struct xt_table packet_mangler = {
	.name		= "mangle",
	.valid_hooks	= MANGLE_VALID_HOOKS,
	.me		= THIS_MODULE,
	.af		= AF_INET,
	.af		= NFPROTO_IPV4,
};

/* The work comes in here from netfilter.c. */
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ static struct xt_table packet_raw = {
	.name = "raw",
	.valid_hooks =  RAW_VALID_HOOKS,
	.me = THIS_MODULE,
	.af = AF_INET,
	.af = NFPROTO_IPV4,
};

/* The work comes in here from netfilter.c. */
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ static struct xt_table security_table = {
	.name		= "security",
	.valid_hooks	= SECURITY_VALID_HOOKS,
	.me		= THIS_MODULE,
	.af		= AF_INET,
	.af		= NFPROTO_IPV4,
};

static unsigned int
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ static struct xt_table nat_table = {
	.name		= "nat",
	.valid_hooks	= NAT_VALID_HOOKS,
	.me		= THIS_MODULE,
	.af		= AF_INET,
	.af		= NFPROTO_IPV4,
};

/* Source NAT */
Loading