summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1998-06-24 01:13:09 +0000
committerNiels Provos <provos@cvs.openbsd.org>1998-06-24 01:13:09 +0000
commit2bbfa91f97e6d6a3b9944d1e0e2752bc55e3e27b (patch)
treedec490d4d555fb6103b93fd40a3d54fb8c4d36a5
parentfe125ee2613700215bf14884267b9aa982a4aa55 (diff)
disable startup file in vpn mode
-rw-r--r--sbin/ipsec/photurisd/photurisd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsec/photurisd/photurisd.c b/sbin/ipsec/photurisd/photurisd.c
index 5fb59e9525e..f57561f1343 100644
--- a/sbin/ipsec/photurisd/photurisd.c
+++ b/sbin/ipsec/photurisd/photurisd.c
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: photurisd.c,v 1.7 1998/05/24 14:17:10 provos Exp $";
+static char rcsid[] = "$Id: photurisd.c,v 1.8 1998/06/24 01:13:08 provos Exp $";
#endif
#define _PHOTURIS_C_
@@ -171,7 +171,7 @@ main(int argc, char **argv)
init_server();
/* Startup preconfigured exchanges */
- if( !ignore)
+ if( !ignore && !vpn_mode)
init_startup();
#ifndef DEBUG