diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-09-05 14:54:17 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-09-05 14:54:17 +0000 |
commit | d9e43ee8c38452c43d6ffd21c585a617bf6ad602 (patch) | |
tree | c54fe34f3bed4b2888d6f46ab08d37123b73b974 /sbin/isakmpd/exchange.c | |
parent | 25994f70377d8fad0dcb118857db391ad4717dd6 (diff) |
Do not create SAs for transaction exchanges either. By niklas@
Diffstat (limited to 'sbin/isakmpd/exchange.c')
-rw-r--r-- | sbin/isakmpd/exchange.c | 5 |
1 files changed, 3 insertions, 2 deletions
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++) |