diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2000-12-15 01:06:52 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2000-12-15 01:06:52 +0000 |
commit | 475674052e0a84887239cb3bcde569867f0d11d8 (patch) | |
tree | ae87f95e085d62619cf97ffa257cdef85c8e5365 /sbin/photurisd/handle_identity_response.c | |
parent | 126dface48f6f55826ca957bbe6e4b53a7ba777b (diff) |
handle pfkey soft updates. only update when SA has been used.
Diffstat (limited to 'sbin/photurisd/handle_identity_response.c')
-rw-r--r-- | sbin/photurisd/handle_identity_response.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/photurisd/handle_identity_response.c b/sbin/photurisd/handle_identity_response.c index 9b40ac97499..0e58986bfad 100644 --- a/sbin/photurisd/handle_identity_response.c +++ b/sbin/photurisd/handle_identity_response.c @@ -34,7 +34,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: handle_identity_response.c,v 1.3 2000/12/11 21:21:17 provos Exp $"; +static char rcsid[] = "$Id: handle_identity_response.c,v 1.4 2000/12/15 01:06:51 provos Exp $"; #endif #include <stdio.h> @@ -245,7 +245,7 @@ handle_identity_response(u_char *packet, int size, char *address, #ifdef IPSEC kernel_insert_spi(st, spi); #endif - schedule_insert(UPDATE, st->olifetime/2, spi->SPI, SPI_SIZE); + spi_update_insert(spi); } if (st->uSPI[0] || st->uSPI[1] || st->uSPI[2] || st->uSPI[3]) { /* Insert User SPI */ |