summaryrefslogtreecommitdiffstats
path: root/libip6t_NPTV6.c
diff options
context:
space:
mode:
Diffstat (limited to 'libip6t_NPTV6.c')
-rw-r--r--libip6t_NPTV6.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/libip6t_NPTV6.c b/libip6t_NPTV6.c
index 4c7aae7..3b75434 100644
--- a/libip6t_NPTV6.c
+++ b/libip6t_NPTV6.c
@@ -21,7 +21,7 @@ void NPTV6_help_note(void)
"ip6tables -t mangle -I POSTROUTING -o eth0 -s FD01:0203:0405::/48 -j SNPTV6 --to-source 2001:0DB8:0001::/48\n");
}
-static void parse_to(const char *orig_arg, struct ip6t_nptv6_info *info)
+void NPTV6_parse_to(const char *orig_arg, struct ip6t_nptv6_info *info)
{
char *arg, *slash;
@@ -43,18 +43,6 @@ static void parse_to(const char *orig_arg, struct ip6t_nptv6_info *info)
free(arg);
}
-void NPTV6_parse(struct xt_option_call *cb)
-{
- struct ip6t_nptv6_info* info = (struct ip6t_nptv6_info*)cb->data;
-
- xtables_option_parse(cb);
- switch(cb->entry->id) {
- case 0:
- parse_to(cb->arg, info);
- break;
- }
-}
-
void NPTV6_print(const void *ip, const struct xt_entry_target *target, int numeric)
{
const struct ip6t_nptv6_info* info = (struct ip6t_nptv6_info*)target->data;