negated POLICY_REAUTH to POLICY_DONT_REAUTH
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 21 Dec 2006 20:05:49 +0000 (20:05 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 21 Dec 2006 20:05:49 +0000 (20:05 -0000)
src/pluto/constants.c
src/pluto/constants.h

index 3ba5bc0..883f82e 100644 (file)
@@ -504,6 +504,7 @@ const char *const sa_policy_bit_names[] = {
        "XAUTHPSK",
        "XAUTHRSASIG",
        "XAUTHSERVER",
+       "DONTREAUTH",
        NULL
     };
 
index 1295b29..3459a3b 100644 (file)
@@ -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.)