summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_helper.c')
-rw-r--r--extensions/libxt_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_helper.c b/extensions/libxt_helper.c
index 8378be75..7b56bef4 100644
--- a/extensions/libxt_helper.c
+++ b/extensions/libxt_helper.c
@@ -55,14 +55,14 @@ static void helper_check(unsigned int flags)
static void
helper_print(const void *ip, const struct xt_entry_match *match, int numeric)
{
- struct xt_helper_info *info = (struct xt_helper_info *)match->data;
+ const struct xt_helper_info *info = (const void *)match->data;
printf("helper match %s\"%s\" ", info->invert ? "! " : "", info->name);
}
static void helper_save(const void *ip, const struct xt_entry_match *match)
{
- struct xt_helper_info *info = (struct xt_helper_info *)match->data;
+ const struct xt_helper_info *info = (const void *)match->data;
printf("%s--helper ",info->invert ? "! " : "");
xtables_save_string(info->name);