diff options
Diffstat (limited to 'src/pluto/spdb.c')
-rw-r--r-- | src/pluto/spdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pluto/spdb.c b/src/pluto/spdb.c index 996585135..7003b127a 100644 --- a/src/pluto/spdb.c +++ b/src/pluto/spdb.c @@ -11,7 +11,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * RCSID $Id: spdb.c,v 1.9 2006/04/22 21:59:20 as Exp $ + * RCSID $Id: spdb.c 3252 2007-10-06 21:24:50Z andreas $ */ #include <stdio.h> @@ -975,8 +975,8 @@ parse_isakmp_sa_body(u_int32_t ipsecdoisit lset_t iap = st->st_policy & POLICY_ID_AUTH_MASK; /* is the initiator the XAUTH client? */ - bool xauth_init = initiator && (st->st_policy & POLICY_XAUTH_SERVER) == LEMPTY - || !initiator && (st->st_policy & POLICY_XAUTH_SERVER) != LEMPTY; + bool xauth_init = ( initiator && (st->st_policy & POLICY_XAUTH_SERVER) == LEMPTY) + || (!initiator && (st->st_policy & POLICY_XAUTH_SERVER) != LEMPTY); switch (val) { |