summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-05 00:48:12 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-05 00:48:12 +0000
commita086fcda342a47ff029ba024b52c7143532694e3 (patch)
tree54a434b9bb00c4df846d76ba603ae39a2bee9955 /sbin/isakmpd
parent7808aa56d3daad431844815999941591a471f4e1 (diff)
Add comment about finalize routine processing.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/exchange.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/isakmpd/exchange.c b/sbin/isakmpd/exchange.c
index 26fb2734dea..4900fe7376f 100644
--- a/sbin/isakmpd/exchange.c
+++ b/sbin/isakmpd/exchange.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exchange.c,v 1.45 2001/04/24 07:27:36 niklas Exp $ */
+/* $OpenBSD: exchange.c,v 1.46 2001/05/05 00:48:11 angelos Exp $ */
/* $EOM: exchange.c,v 1.143 2000/12/04 00:02:25 angelos Exp $ */
/*
@@ -1710,6 +1710,13 @@ exchange_establish (char *name,
return;
}
+ /*
+ * XXX We're losing information here (what the original finalize
+ * routine was. As a result, if an exchange does not manage to
+ * get through, there may be application-specific information
+ * that won't get cleaned up, since no error signalling will be
+ * done. This is the case with dynamic SAs and PFKEY.
+ */
exchange_establish (peer, exchange_establish_finalize, name);
}
else