diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-06-07 15:24:23 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-06-07 15:24:23 +0000 |
commit | 9b42afcf516fd86911a45abbdceee3c997896e95 (patch) | |
tree | 7f2f8d3a4e1dbed0ef6b39162e0ca11a82a113b4 /sbin/isakmpd | |
parent | 4cefecc27da2bbc13cb635845a388f06747d3fa2 (diff) |
Add 'ikecfg' as a valid Flags= value.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/sa.c | 5 | ||||
-rw-r--r-- | sbin/isakmpd/sa.h | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/sbin/isakmpd/sa.c b/sbin/isakmpd/sa.c index 991bb4f874e..7f7cef896c0 100644 --- a/sbin/isakmpd/sa.c +++ b/sbin/isakmpd/sa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sa.c,v 1.59 2002/06/06 15:40:09 ho Exp $ */ +/* $OpenBSD: sa.c,v 1.60 2002/06/07 15:24:22 ho Exp $ */ /* $EOM: sa.c,v 1.112 2000/12/12 00:22:52 niklas Exp $ */ /* @@ -975,7 +975,8 @@ sa_flag (char *attr) } sa_flag_map[] = { { "active-only", SA_FLAG_ACTIVE_ONLY }, /* Below this point are flags that are internal to the implementation. */ - { "__ondemand", SA_FLAG_ONDEMAND } + { "__ondemand", SA_FLAG_ONDEMAND }, + { "ikecfg}", SA_FLAG_IKECFG }, }; int i; diff --git a/sbin/isakmpd/sa.h b/sbin/isakmpd/sa.h index 627baf39031..91961da1cd6 100644 --- a/sbin/isakmpd/sa.h +++ b/sbin/isakmpd/sa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sa.h,v 1.27 2002/03/17 21:50:59 angelos Exp $ */ +/* $OpenBSD: sa.h,v 1.28 2002/06/07 15:24:22 ho Exp $ */ /* $EOM: sa.h,v 1.58 2000/10/10 12:39:01 provos Exp $ */ /* @@ -205,6 +205,9 @@ struct sa { /* This SA should always be actively renegotiated (with us as initiator). */ #define SA_FLAG_ACTIVE_ONLY 0x20 +/* This SA flag is a placeholder for a TRANSACTION exchange "SA flag". */ +#define SA_FLAG_IKECFG 0x40 + /* Outfile for detailed SA information. */ #define SA_FILE "/var/run/isakmpd_sa" |