diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2005-10-26 20:10:50 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2005-10-26 20:10:50 +0000 |
commit | fd94bc876ef0669419fc6ff53f59df62559c9be0 (patch) | |
tree | 678a6492f5f183a2bdd7d84d9099b491666c0662 /sbin/isakmpd/dpd.h | |
parent | 0cd1a7ddb5c254ea2b8941c4cb373687682b49a8 (diff) |
don't send DPD messages before the exchange is finialized, otherwise
we have a race between DPD and exchange timeouts and both will release
the SA and corrupt the SA list. ok hshoexer@, ho@
Diffstat (limited to 'sbin/isakmpd/dpd.h')
-rw-r--r-- | sbin/isakmpd/dpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/isakmpd/dpd.h b/sbin/isakmpd/dpd.h index fa62c5b08b7..d017d403fbf 100644 --- a/sbin/isakmpd/dpd.h +++ b/sbin/isakmpd/dpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dpd.h,v 1.2 2004/08/10 15:59:10 ho Exp $ */ +/* $OpenBSD: dpd.h,v 1.3 2005/10/26 20:10:49 markus Exp $ */ /* * Copyright (c) 2004 Håkan Olsson. All rights reserved. @@ -34,5 +34,6 @@ struct sa; int dpd_add_vendor_payload(struct message *); void dpd_check_vendor_payload(struct message *, struct payload *); void dpd_handle_notify(struct message *, struct payload *); +void dpd_start(struct sa *); #endif /* _DPD_H_ */ |