summaryrefslogtreecommitdiffstats
path: root/libip6t_MAP66.c
diff options
context:
space:
mode:
authorsven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-13 15:16:44 +0200
committersven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-13 15:16:44 +0200
commit681945a3bfe9b379c76ecc6160a102a3dd7d5e59 (patch)
treedb5240330ec388da2f3ab0ce86d6a5f45f1adc63 /libip6t_MAP66.c
parent3ba4717ef537a8fcef51b0af6c5d57d711b63394 (diff)
downloadNPTv6-681945a3bfe9b379c76ecc6160a102a3dd7d5e59.tar
NPTv6-681945a3bfe9b379c76ecc6160a102a3dd7d5e59.zip
fix
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@22 3484d885-4da6-438d-b19d-107d078dd756
Diffstat (limited to 'libip6t_MAP66.c')
-rw-r--r--libip6t_MAP66.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libip6t_MAP66.c b/libip6t_MAP66.c
index 219252d..a5502c3 100644
--- a/libip6t_MAP66.c
+++ b/libip6t_MAP66.c
@@ -100,6 +100,7 @@ static int MAP66_parse(
xtables_error(PARAMETER_PROBLEM, "Multiple --" IP6T_MAP66_DST_TO " not supported");
}
*flags |= IP6T_MAP66_OPT_DST_TO;
+ info->mapflags |= IP6T_MAP66_OPT_DST_TO;
if (NULL == (p = strchr(optarg, '/'))) {
xtables_error(PARAMETER_PROBLEM, "Missing '/' character in --" IP6T_MAP66_DST_TO ": \"%s\"", optarg);
}
@@ -130,6 +131,7 @@ static int MAP66_parse(
xtables_error(PARAMETER_PROBLEM, "Multiple --" IP6T_MAP66_SRC_TO " not supported");
}
*flags |= IP6T_MAP66_OPT_SRC_TO;
+ info->mapflags |= IP6T_MAP66_OPT_SRC_TO;
if (NULL == (p = strchr(optarg, '/'))) {
xtables_error(PARAMETER_PROBLEM, "Missing '/' character in --" IP6T_MAP66_SRC_TO ": \"%s\"", optarg);
}