From be8db2156145d838cce68b4ab928a9c362573a41 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Sun, 7 Feb 2010 23:29:38 +0100 Subject: [PATCH] Fix bug #109: Confusing debug message for nat_ip. --- src/core/auth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/auth.c b/src/core/auth.c index 519124c..0583aef 100644 --- a/src/core/auth.c +++ b/src/core/auth.c @@ -119,7 +119,7 @@ static void add_ip_range(struct linked_list* list, struct ip_range* info) { char buf1[INET6_ADDRSTRLEN+1]; char buf2[INET6_ADDRSTRLEN+1]; - + if (info->lo.af == AF_INET) { net_address_to_string(AF_INET, &info->lo.internal_ip_data.in.s_addr, buf1, INET6_ADDRSTRLEN); @@ -130,8 +130,8 @@ static void add_ip_range(struct linked_list* list, struct ip_range* info) net_address_to_string(AF_INET6, &info->lo.internal_ip_data.in6, buf1, INET6_ADDRSTRLEN); net_address_to_string(AF_INET6, &info->hi.internal_ip_data.in6, buf2, INET6_ADDRSTRLEN); } - LOG_DEBUG("ACL: Deny access for: %s-%s", buf1, buf2); - + LOG_DEBUG("ACL: Added ip range: %s-%s", buf1, buf2); + list_append(list, info); }