summaryrefslogtreecommitdiffstats
path: root/xtables.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-05-20 15:41:03 +0200
committerPatrick McHardy <kaber@trash.net>2010-05-20 15:41:03 +0200
commit30290aea009cf3fd76f27336fb4370be3467c4da (patch)
tree70558b79a5c0e3a23d53a5f815c728a3cd7e71c9 /xtables.c
parent24bb07802df1608319f40f77c606d45c14d59231 (diff)
xtables: fix compilation when debugging is enabled
Reported by yang.xuhui@jfsys.com. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'xtables.c')
-rw-r--r--xtables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtables.c b/xtables.c
index 7340c87a..440b2e14 100644
--- a/xtables.c
+++ b/xtables.c
@@ -1416,7 +1416,7 @@ host_to_ip6addr(const char *name, unsigned int *naddr)
#ifdef DEBUG
fprintf(stderr, "resolved: len=%d %s ", res->ai_addrlen,
- ip6addr_to_numeric(&((struct sockaddr_in6 *)res->ai_addr)->sin6_addr));
+ xtables_ip6addr_to_numeric(&((struct sockaddr_in6 *)res->ai_addr)->sin6_addr));
#endif
/* Get the first element of the address-chain */
addr = xtables_malloc(sizeof(struct in6_addr));