fixed SPI byte order

This commit is contained in:
Martin Willi
2007-03-21 16:09:27 +00:00
parent eef0859043
commit 6de7cf4e2f
+1 -1
View File
@@ -520,7 +520,7 @@ static void receive_events(private_kernel_interface_t *this)
DBG2(DBG_KNL, "received a XFRM_MSG_EXPIRE");
DBG1(DBG_KNL, "creating %s job for %N CHILD_SA 0x%x (reqid %d)",
expire->hard ? "delete" : "rekey", protocol_id_names,
protocol, spi, reqid);
protocol, ntohl(spi), reqid);
if (expire->hard)
{
job = (job_t*)delete_child_sa_job_create(reqid, protocol, spi);