diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-30 04:20:32 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-01-30 05:38:25 +0100 |
commit | 1e01b0b82f70b0b11dcfbced485dbe7aeac4fb8c (patch) | |
tree | 6a1e777d7bc197ceb726510d79ebf57be53bdf9f /extensions/libipt_NETMAP.c | |
parent | e44ea7faa17c10c68f14f5338a7cc6e3291a0ce7 (diff) |
libxtables: prefix/order - ascii to ipaddr/ipmask input
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libipt_NETMAP.c')
-rw-r--r-- | extensions/libipt_NETMAP.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_NETMAP.c b/extensions/libipt_NETMAP.c index 33f48c93..f6c8bfdf 100644 --- a/extensions/libipt_NETMAP.c +++ b/extensions/libipt_NETMAP.c @@ -75,14 +75,14 @@ parse_to(char *arg, struct ip_nat_range *range) if (slash) *slash = '\0'; - ip = numeric_to_ipaddr(arg); + ip = xtables_numeric_to_ipaddr(arg); if (!ip) exit_error(PARAMETER_PROBLEM, "Bad IP address `%s'\n", arg); range->min_ip = ip->s_addr; if (slash) { if (strchr(slash+1, '.')) { - ip = numeric_to_ipmask(slash+1); + ip = xtables_numeric_to_ipmask(slash+1); if (!ip) exit_error(PARAMETER_PROBLEM, "Bad netmask `%s'\n", slash+1); |