From 6b50ddfa0da6047cff888a4cc16d4cc165a8353a Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 21 Dec 2006 20:05:49 +0000 Subject: [PATCH] negated POLICY_REAUTH to POLICY_DONT_REAUTH --- src/pluto/constants.c | 1 + src/pluto/constants.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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.)