Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

It must compare with the hard lifetime.

NetBSD sys/netkey/key.c does not relate to this fix.
FreeBSD/NetBSD sys/netipsec/key.c must be modified.
  • Loading branch information...
commit 0bf3492a13dab5348bc09f89ea06b928342d2ddc 1 parent 7a32ec8
sakane authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  kame/sys/netkey/key.c
View
2  kame/sys/netkey/key.c
@@ -950,7 +950,7 @@ key_do_allocsa_policy(struct secashead *sah, u_int state)
* suitable candidate and the lifetime of the SA is not
* permanent.
*/
- if (d->lft_c->sadb_lifetime_addtime != 0) {
+ if (d->lft_h->sadb_lifetime_addtime != 0) {
struct mbuf *m, *result = NULL;
key_sa_chgstate(d, SADB_SASTATE_DEAD);
Please sign in to comment.
Something went wrong with that request. Please try again.