Adding DBG_LIB to all calls of libstrongswan's version of DBG*.

This commit is contained in:
Tobias Brunner
2010-04-06 12:47:40 +02:00
parent 9ed6341d3f
commit 8b0e09103b
82 changed files with 660 additions and 576 deletions
@@ -127,8 +127,8 @@ static host_t* check_lease(private_sql_attribute_t *this, char *name,
host = host_create_from_chunk(AF_UNSPEC, address, 0);
if (host)
{
DBG1("acquired existing lease for address %H in pool '%s'",
host, name);
DBG1(DBG_LIB, "acquired existing lease for address %H in"
" pool '%s'", host, name);
return host;
}
}
@@ -202,13 +202,13 @@ static host_t* get_lease(private_sql_attribute_t *this, char *name,
host = host_create_from_chunk(AF_UNSPEC, address, 0);
if (host)
{
DBG1("acquired new lease for address %H in pool '%s'",
DBG1(DBG_LIB, "acquired new lease for address %H in pool '%s'",
host, name);
return host;
}
}
}
DBG1("no available address found in pool '%s'", name);
DBG1(DBG_LIB, "no available address found in pool '%s'", name);
return NULL;
}