summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/ipsecctl.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-03-07 00:19:59 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-03-07 00:19:59 +0000
commit95db836f21684f795059c0bebdcbf60453d02e59 (patch)
tree44cda93516e3f398ec76fa16ced8e883155dc5d4 /sbin/ipsecctl/ipsecctl.h
parenta59531eca8b0360c07adc2040bed23043dda710f (diff)
add an ike option for road warrior setups (hosts with dynamic ip
addresses). "ike dynamic esp" will use the system's hostname as the fqdn source id (instead of the ip address) by default and enable dpd (dead peer detection) to allow smooth reconnects after an ip address change (i.e. forced reconnect with consumer adsl lines). ok hshoexer@, looks fine markus@, jmc@
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.h')
-rw-r--r--sbin/ipsecctl/ipsecctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecctl/ipsecctl.h b/sbin/ipsecctl/ipsecctl.h
index 3a0b6583175..1ffa800db72 100644
--- a/sbin/ipsecctl/ipsecctl.h
+++ b/sbin/ipsecctl/ipsecctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecctl.h,v 1.27 2006/01/17 00:05:39 deraadt Exp $ */
+/* $OpenBSD: ipsecctl.h,v 1.28 2006/03/07 00:19:58 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -66,7 +66,7 @@ enum {
COMPXF_UNKNOWN, COMPXF_DEFLATE, COMPXF_LZS
};
enum {
- IKE_ACTIVE, IKE_PASSIVE
+ IKE_ACTIVE, IKE_PASSIVE, IKE_DYNAMIC
};
enum {
IKE_AUTH_RSA, IKE_AUTH_PSK