consistent logging of SPIs and CPIs

This commit is contained in:
Andreas Steffen
2008-07-22 10:16:45 +00:00
parent 7db7d06e28
commit eba7470b76
3 changed files with 58 additions and 40 deletions
+2 -2
View File
@@ -119,11 +119,11 @@ static void process_payloads(private_child_delete_t *this, message_t *message)
*spi, FALSE);
if (child_sa == NULL)
{
DBG1(DBG_IKE, "received DELETE for %N CHILD_SA with SPI 0x%x, "
DBG1(DBG_IKE, "received DELETE for %N CHILD_SA with SPI %.8x, "
"but no such SA", protocol_id_names, protocol, ntohl(*spi));
continue;
}
DBG2(DBG_IKE, "received DELETE for %N CHILD_SA with SPI 0x%x",
DBG1(DBG_IKE, "received DELETE for %N CHILD_SA with SPI %.8x",
protocol_id_names, protocol, ntohl(*spi));
switch (child_sa->get_state(child_sa))