summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_sctp.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_sctp.c')
-rw-r--r--extensions/libxt_sctp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libxt_sctp.c b/extensions/libxt_sctp.c
index a04b4fc0..df1936be 100644
--- a/extensions/libxt_sctp.c
+++ b/extensions/libxt_sctp.c
@@ -485,11 +485,11 @@ static void sctp_save(const void *ip, const struct xt_entry_match *match)
}
}
-static int sctp_xlate(const void *ip, const struct xt_entry_match *match,
- struct xt_xlate *xl, int numeric)
+static int sctp_xlate(struct xt_xlate *xl,
+ const struct xt_xlate_mt_params *params)
{
const struct xt_sctp_info *einfo =
- (const struct xt_sctp_info *)match->data;
+ (const struct xt_sctp_info *)params->match->data;
char *space = "";
if (!einfo->flags)