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/libxt_TPROXY.c | |
parent | e44ea7faa17c10c68f14f5338a7cc6e3291a0ce7 (diff) |
libxtables: prefix/order - ascii to ipaddr/ipmask input
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_TPROXY.c')
-rw-r--r-- | extensions/libxt_TPROXY.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_TPROXY.c b/extensions/libxt_TPROXY.c index 2398c849..54ae96d2 100644 --- a/extensions/libxt_TPROXY.c +++ b/extensions/libxt_TPROXY.c @@ -50,7 +50,7 @@ static void parse_tproxy_laddr(const char *s, struct xt_tproxy_target_info *info { struct in_addr *laddr; - if ((laddr = numeric_to_ipaddr(s)) == NULL) + if ((laddr = xtables_numeric_to_ipaddr(s)) == NULL) xtables_param_act(XTF_BAD_VALUE, "TPROXY", "--on-ip", s); info->laddr = laddr->s_addr; |