summaryrefslogtreecommitdiffstats
path: root/ip6t_MAP66.c
diff options
context:
space:
mode:
Diffstat (limited to 'ip6t_MAP66.c')
-rw-r--r--ip6t_MAP66.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ip6t_MAP66.c b/ip6t_MAP66.c
index ffe4afa..5f94f81 100644
--- a/ip6t_MAP66.c
+++ b/ip6t_MAP66.c
@@ -167,21 +167,21 @@ static bool MAP66_tg6_check(
if (0 == ((IP6T_MAP66_OPT_DST_TO | IP6T_MAP66_OPT_SRC_TO) & info->mapflags)) {
- printk("MAP66: No " IP6T_MAP66_DST_TO " nor " IP6T_MAP66_SRC_TO "\n");
+ printk("MAP66: No --" IP6T_MAP66_DST_TO " nor --" IP6T_MAP66_SRC_TO "\n");
return false;
}
if (0 != (IP6T_MAP66_OPT_DST_TO & info->mapflags) &&
(0 >= info->pfix_dst_len || 8 <= info->pfix_dst_len))
{
- printk("MAP66: Unsupported dst-to prefix length /%d\n", 16 * info->pfix_dst_len);
+ printk("MAP66: Unsupported --" IP6T_MAP66_DST_TO " prefix length /%d\n", 16 * info->pfix_dst_len);
return false;
}
if (0 != (IP6T_MAP66_OPT_SRC_TO & info->mapflags) &&
(0 >= info->pfix_src_len || 8 <= info->pfix_src_len))
{
- printk("MAP66: Unsupported src-to prefix length /%d\n", 16 * info->pfix_src_len);
+ printk("MAP66: Unsupported --" IP6T_MAP66_SRC_TO " prefix length /%d\n", 16 * info->pfix_src_len);
return false;
}
return true;