summaryrefslogtreecommitdiff
path: root/sbin/ipsec/photurisd/config.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1998-05-19 16:31:12 +0000
committerNiels Provos <provos@cvs.openbsd.org>1998-05-19 16:31:12 +0000
commit4a12e0dea3825dcb2fe9d9453800b58098a19591 (patch)
treefa047878f3f068c8ea6b9fade6eab9d24e20cee8 /sbin/ipsec/photurisd/config.c
parent5a9aeac561eb306dbd31126710f661abc1b93c31 (diff)
fix bug in configuring exchange timeout
Diffstat (limited to 'sbin/ipsec/photurisd/config.c')
-rw-r--r--sbin/ipsec/photurisd/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsec/photurisd/config.c b/sbin/ipsec/photurisd/config.c
index 8b58f2ca048..b6ac16c2300 100644
--- a/sbin/ipsec/photurisd/config.c
+++ b/sbin/ipsec/photurisd/config.c
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: config.c,v 1.7 1998/05/18 21:25:20 provos Exp $";
+static char rcsid[] = "$Id: config.c,v 1.8 1998/05/19 16:31:11 provos Exp $";
#endif
#define _CONFIG_C_
@@ -537,7 +537,7 @@ init_times(void)
else if (!strcmp(p, CONFIG_RET_TIMEOUT))
value = &retrans_timeout;
else if (!strcmp(p, CONFIG_EX_TIMEOUT))
- value = &exchange_lifetime;
+ value = &exchange_timeout;
else if (!strcmp(p, CONFIG_EX_LIFETIME))
value = &exchange_lifetime;
else if (!strcmp(p, CONFIG_SPI_LIFETIME))