diff options
Diffstat (limited to 'sbin/isakmpd/sa.c')
-rw-r--r-- | sbin/isakmpd/sa.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/isakmpd/sa.c b/sbin/isakmpd/sa.c index 94bedf804fd..1313fd6ef09 100644 --- a/sbin/isakmpd/sa.c +++ b/sbin/isakmpd/sa.c @@ -1,5 +1,5 @@ -/* $OpenBSD: sa.c,v 1.32 2000/10/16 23:27:43 niklas Exp $ */ -/* $EOM: sa.c,v 1.110 2000/10/16 18:16:59 provos Exp $ */ +/* $OpenBSD: sa.c,v 1.33 2000/12/12 01:47:12 niklas Exp $ */ +/* $EOM: sa.c,v 1.112 2000/12/12 00:22:52 niklas Exp $ */ /* * Copyright (c) 1998, 1999, 2000 Niklas Hallqvist. All rights reserved. @@ -625,7 +625,9 @@ sa_add_transform (struct sa *sa, struct payload *xf, int initiator, void sa_delete (struct sa *sa, int notify) { - message_send_delete (sa); + /* Don't bother notifying of Phase 1 SA deletes. */ + if (sa->phase != 1) + message_send_delete (sa); sa_free (sa); } |