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:
1 parent
927103ece4
commit
4f4d4021b4
10 files changed
+175
-176
No files matched your search
@@ -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