own CPI was not deleted due to copy-and-paste error

This commit is contained in:
Andreas Steffen
2008-07-22 10:53:56 +00:00
parent eba7470b76
commit c3967e779e
+1 -1
View File
@@ -973,7 +973,7 @@ static void destroy(private_child_sa_t *this)
if (this->me.cpi)
{
charon->kernel_interface->del_sa(charon->kernel_interface,
this->other.addr, htonl(ntohs(this->me.cpi)), IPPROTO_COMP);
this->me.addr, htonl(ntohs(this->me.cpi)), IPPROTO_COMP);
}
if (this->other.cpi)
{