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_SNAT.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_SNAT.c')
-rw-r--r-- | extensions/libipt_SNAT.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_SNAT.c b/extensions/libipt_SNAT.c index 2afcbb1e..0780aa1a 100644 --- a/extensions/libipt_SNAT.c +++ b/extensions/libipt_SNAT.c @@ -117,13 +117,13 @@ parse_to(char *arg, int portok, struct ipt_natinfo *info) if (dash) *dash = '\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 (dash) { - ip = numeric_to_ipaddr(dash+1); + ip = xtables_numeric_to_ipaddr(dash+1); if (!ip) exit_error(PARAMETER_PROBLEM, "Bad IP address `%s'\n", dash+1); |