From 30290aea009cf3fd76f27336fb4370be3467c4da Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Thu, 20 May 2010 15:41:03 +0200 Subject: xtables: fix compilation when debugging is enabled Reported by yang.xuhui@jfsys.com. Signed-off-by: Patrick McHardy --- xtables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtables.c') 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)); -- cgit v1.2.3