aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_sctp.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-10-08 05:35:01 -0400
committerPatrick McHardy <kaber@trash.net>2008-10-08 05:35:01 -0400
commitee999d8b9573df1b547aacdc6d79f86eb79c25cd (patch)
tree83585a40918ad1ebad17f4a0cfbf5486c02c64d7 /net/netfilter/xt_sctp.c
parent7e9c6eeb136a46dfd941852803b3a9dd78939b69 (diff)
netfilter: x_tables: use NFPROTO_* in extensions
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/xt_sctp.c')
-rw-r--r--net/netfilter/xt_sctp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/xt_sctp.c b/net/netfilter/xt_sctp.c
index e6e4681fa04..ab67aca4d8f 100644
--- a/net/netfilter/xt_sctp.c
+++ b/net/netfilter/xt_sctp.c
@@ -169,7 +169,7 @@ sctp_mt_check(const char *tablename, const void *inf,
169static struct xt_match sctp_mt_reg[] __read_mostly = { 169static struct xt_match sctp_mt_reg[] __read_mostly = {
170 { 170 {
171 .name = "sctp", 171 .name = "sctp",
172 .family = AF_INET, 172 .family = NFPROTO_IPV4,
173 .checkentry = sctp_mt_check, 173 .checkentry = sctp_mt_check,
174 .match = sctp_mt, 174 .match = sctp_mt,
175 .matchsize = sizeof(struct xt_sctp_info), 175 .matchsize = sizeof(struct xt_sctp_info),
@@ -178,7 +178,7 @@ static struct xt_match sctp_mt_reg[] __read_mostly = {
178 }, 178 },
179 { 179 {
180 .name = "sctp", 180 .name = "sctp",
181 .family = AF_INET6, 181 .family = NFPROTO_IPV6,
182 .checkentry = sctp_mt_check, 182 .checkentry = sctp_mt_check,
183 .match = sctp_mt, 183 .match = sctp_mt,
184 .matchsize = sizeof(struct xt_sctp_info), 184 .matchsize = sizeof(struct xt_sctp_info),