diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1997-07-23 12:28:58 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1997-07-23 12:28:58 +0000 |
commit | dc827378e8e2aaf3813b5a7cd4b487194c224ebd (patch) | |
tree | afe896c16a8d922734119ed6d6bce71342a6f8c7 /sbin/ipsec/photurisd/handle_spi_needed.c | |
parent | 1ac06ffb4b821e98d86f25af1d385216d62f6270 (diff) |
tunnel,lifetimes,hostname via startkey/startup
errors to stderr before daemon, to syslog afterwards
Diffstat (limited to 'sbin/ipsec/photurisd/handle_spi_needed.c')
-rw-r--r-- | sbin/ipsec/photurisd/handle_spi_needed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsec/photurisd/handle_spi_needed.c b/sbin/ipsec/photurisd/handle_spi_needed.c index 92fc52eadc8..f070d675b81 100644 --- a/sbin/ipsec/photurisd/handle_spi_needed.c +++ b/sbin/ipsec/photurisd/handle_spi_needed.c @@ -34,7 +34,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: handle_spi_needed.c,v 1.2 1997/07/19 12:07:48 provos Exp $"; +static char rcsid[] = "$Id: handle_spi_needed.c,v 1.3 1997/07/23 12:28:49 provos Exp $"; #endif #include <stdio.h> @@ -177,7 +177,7 @@ handle_spi_needed(u_char *packet, int size, char *address, return -1; } bcopy(st->icookie, spi->icookie, COOKIE_SIZE); - spi->owner = 1; + spi->flags |= SPI_OWNER; spi->attribsize = st->oSPIattribsize; spi->attributes = calloc(spi->attribsize, sizeof(u_int8_t)); if (spi->attributes == NULL) { |