fixed acquire-delay bug by:

installing policies before states
  updating policies if protocol has changed
This commit is contained in:
Martin Willi
2008-07-16 11:51:37 +00:00
parent 519e87b078
commit 7beea2e99f
5 changed files with 28 additions and 20 deletions
+3 -1
View File
@@ -203,10 +203,12 @@ struct child_sa_t {
* @param my_ts traffic selectors for local site
* @param other_ts traffic selectors for remote site
* @param mode mode for the SA: tunnel/transport
* @param proto protocol for policy, ESP/AH
* @return SUCCESS or FAILED
*/
status_t (*add_policies)(child_sa_t *this, linked_list_t *my_ts_list,
linked_list_t *other_ts_list, mode_t mode);
linked_list_t *other_ts_list, mode_t mode,
protocol_id_t proto);
/**
* Get the traffic selectors of added policies of local host.