aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-12-21 20:05:49 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-12-21 20:05:49 +0000
commit6b50ddfa0da6047cff888a4cc16d4cc165a8353a (patch)
tree4a4a2747601979980b150cfd187006218375e05b
parentfb3466063243a46fc01c0730f0d6a36783487bfe (diff)
downloadstrongswan-6b50ddfa0da6047cff888a4cc16d4cc165a8353a.tar.bz2
strongswan-6b50ddfa0da6047cff888a4cc16d4cc165a8353a.tar.xz
negated POLICY_REAUTH to POLICY_DONT_REAUTH
-rw-r--r--src/pluto/constants.c1
-rw-r--r--src/pluto/constants.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/pluto/constants.c b/src/pluto/constants.c
index 3ba5bc09d..883f82ece 100644
--- a/src/pluto/constants.c
+++ b/src/pluto/constants.c
@@ -504,6 +504,7 @@ const char *const sa_policy_bit_names[] = {
"XAUTHPSK",
"XAUTHRSASIG",
"XAUTHSERVER",
+ "DONTREAUTH",
NULL
};
diff --git a/src/pluto/constants.h b/src/pluto/constants.h
index 1295b29cf..3459a3b46 100644
--- a/src/pluto/constants.h
+++ b/src/pluto/constants.h
@@ -844,7 +844,7 @@ extern const char *prettypolicy(lset_t policy);
#define POLICY_XAUTH_PSK LELEM(18) /* do we support XAUTH????PreShared? */
#define POLICY_XAUTH_RSASIG LELEM(19) /* do we support XAUTH????RSA? */
#define POLICY_XAUTH_SERVER LELEM(20) /* are we an XAUTH server? */
-#define POLICY_REAUTH LELEM(21) /* reauthenticate on rekeying, IKEv2 */
+#define POLICY_DONT_REAUTH LELEM(21) /* don't reauthenticate on rekeying, IKEv2 only */
/* Any IPsec policy? If not, a connection description
* is only for ISAKMP SA, not IPSEC SA. (A pun, I admit.)