ike: Treat action_t as flags so 'start' and 'trap' can be combined
While combining the actions could cause duplicates (while the SA is initiated, traffic might trigger the trap and the initiation of another CHILD_SA), the previous commit should avoid most duplicates. If reuse_ikesa is disabled, duplicates can't be prevented, though.
This commit is contained in:
@@ -801,8 +801,8 @@ static job_requeue_t initiate(private_android_service_t *this)
|
||||
},
|
||||
},
|
||||
.mode = MODE_TUNNEL,
|
||||
.dpd_action = ACTION_RESTART,
|
||||
.close_action = ACTION_RESTART,
|
||||
.dpd_action = ACTION_START,
|
||||
.close_action = ACTION_START,
|
||||
};
|
||||
char *type, *remote_id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user