aboutsummaryrefslogtreecommitdiffstats
path: root/src/libipsec/ipsec_sa.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-10-27 15:07:05 +0100
committerMartin Willi <martin@revosec.ch>2015-02-20 13:34:50 +0100
commitf81a9497483a7282c11adf5705d9ea3e83f6fffd (patch)
tree8414a9b7e0eec4ae56fdcfa1447bd1e7f432504d /src/libipsec/ipsec_sa.c
parent971a91685da640363651e7a9a9edb9dfd94b7fe5 (diff)
downloadstrongswan-f81a9497483a7282c11adf5705d9ea3e83f6fffd.tar.bz2
strongswan-f81a9497483a7282c11adf5705d9ea3e83f6fffd.tar.xz
kernel-interface: Raise expires with a proto/SPI/dst tuple instead of reqid
Diffstat (limited to 'src/libipsec/ipsec_sa.c')
-rw-r--r--src/libipsec/ipsec_sa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libipsec/ipsec_sa.c b/src/libipsec/ipsec_sa.c
index 3d0bbe169..ccbbb1b3c 100644
--- a/src/libipsec/ipsec_sa.c
+++ b/src/libipsec/ipsec_sa.c
@@ -194,8 +194,8 @@ METHOD(ipsec_sa_t, expire, void,
if (!this->hard_expired)
{
this->hard_expired = TRUE;
- ipsec->events->expire(ipsec->events, this->reqid, this->protocol,
- this->spi, TRUE);
+ ipsec->events->expire(ipsec->events, this->protocol, this->spi,
+ this->dst, TRUE);
}
}
else
@@ -203,8 +203,8 @@ METHOD(ipsec_sa_t, expire, void,
if (!this->hard_expired && !this->soft_expired)
{
this->soft_expired = TRUE;
- ipsec->events->expire(ipsec->events, this->reqid, this->protocol,
- this->spi, FALSE);
+ ipsec->events->expire(ipsec->events, this->protocol, this->spi,
+ this->dst, FALSE);
}
}
}