diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-03-31 20:33:46 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-03-31 20:33:46 +0000 |
commit | 3acc83ddf7ad003bae96d0a7bff3cdcabc14a79b (patch) | |
tree | 16252ba8fdb8e10267f34351f6d1a449022c73ad /sbin/photurisd | |
parent | 481acf15af1a2573e5b64c77ffd9d920776b66ba (diff) |
Use SADB_SAFLAGS_X_REPLACEFLOW
Diffstat (limited to 'sbin/photurisd')
-rw-r--r-- | sbin/photurisd/kernel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/photurisd/kernel.c b/sbin/photurisd/kernel.c index 69e3c1b79de..0a3ec33c2ac 100644 --- a/sbin/photurisd/kernel.c +++ b/sbin/photurisd/kernel.c @@ -39,7 +39,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: kernel.c,v 1.2 1999/03/27 21:18:01 provos Exp $"; +static char rcsid[] = "$Id: kernel.c,v 1.3 1999/03/31 20:33:45 niklas Exp $"; #endif #include <time.h> @@ -1354,7 +1354,7 @@ kernel_insert_spi(struct stateob *st, struct spiob *SPI) if (kernel_enable_spi(SPI->isrc, SPI->ismask, SPI->idst, SPI->idmask, SPI->address, spi, proto, - /* ENABLE_FLAG_REPLACE|*/ SADB_SAFLAGS_X_LOCALFLOW | + SADB_SAFLAGS_X_REPLACEFLOW | SADB_SAFLAGS_X_LOCALFLOW | (vpn_mode ? /*ENABLE_FLAG_MODIFY*/ : 0)) == -1) log_error(0, "kernel_enable_spi() in kernel_insert_spi()"); } else { |