From d9e43ee8c38452c43d6ffd21c585a617bf6ad602 Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Thu, 5 Sep 2002 14:54:17 +0000 Subject: Do not create SAs for transaction exchanges either. By niklas@ --- sbin/isakmpd/exchange.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sbin/isakmpd/exchange.c') diff --git a/sbin/isakmpd/exchange.c b/sbin/isakmpd/exchange.c index 553d7f62d4b..80b89f71731 100644 --- a/sbin/isakmpd/exchange.c +++ b/sbin/isakmpd/exchange.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exchange.c,v 1.67 2002/06/10 18:08:58 ho Exp $ */ +/* $OpenBSD: exchange.c,v 1.68 2002/09/05 14:54:16 ho Exp $ */ /* $EOM: exchange.c,v 1.143 2000/12/04 00:02:25 angelos Exp $ */ /* @@ -985,7 +985,8 @@ exchange_establish_p2 (struct sa *isakmp_sa, u_int8_t type, char *name, * Do not create SA's for informational exchanges. * XXX How to handle new group mode? */ - if (exchange->type != ISAKMP_EXCH_INFO) + if (exchange->type != ISAKMP_EXCH_INFO + && exchange->type != ISAKMP_EXCH_TRANSACTION) { /* XXX Number of SAs should come from the args structure. */ for (i = 0; i < 1; i++) -- cgit v1.2.3