own CPI was not deleted due to copy-and-paste error
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 22 Jul 2008 10:53:56 +0000 (10:53 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 22 Jul 2008 10:53:56 +0000 (10:53 -0000)
src/charon/sa/child_sa.c

index 443f9d9..57595e1 100644 (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)
        {