aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/sa
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/sa')
-rw-r--r--Source/charon/sa/child_sa.c2
-rw-r--r--Source/charon/sa/child_sa.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/charon/sa/child_sa.c b/Source/charon/sa/child_sa.c
index faadf27ce..adf4c62dd 100644
--- a/Source/charon/sa/child_sa.c
+++ b/Source/charon/sa/child_sa.c
@@ -550,7 +550,7 @@ static void destroy(private_child_sa_t *this)
*/
child_sa_t * child_sa_create(host_t *me, host_t* other)
{
- static u_int32_t reqid = 1;
+ static u_int32_t reqid = 0xc0000000;
private_child_sa_t *this = allocator_alloc_thing(private_child_sa_t);
/* public functions */
diff --git a/Source/charon/sa/child_sa.h b/Source/charon/sa/child_sa.h
index bd48c603c..a43ed0674 100644
--- a/Source/charon/sa/child_sa.h
+++ b/Source/charon/sa/child_sa.h
@@ -47,6 +47,8 @@ typedef struct child_sa_t child_sa_t;
* - B sends the updated proposal to A
* - A calls child_sa_t.update to update the already allocated SPIs with the chosen proposal
*
+ * Once SAs are set up, policies can be added using add_policies.
+ *
*
* @b Constructors:
* - child_sa_create()