]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
xtables: fix compilation when debugging is enabled
authorPatrick McHardy <kaber@trash.net>
Thu, 20 May 2010 13:41:03 +0000 (15:41 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 20 May 2010 13:41:03 +0000 (15:41 +0200)
Reported by yang.xuhui@jfsys.com.

Signed-off-by: Patrick McHardy <kaber@trash.net>
xtables.c

index 7340c87a3f1315ef9149656eb09e35bae45e2ae6..440b2e141487ab676e259b73d1dd888bc4729e23 100644 (file)
--- 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));