diff options
author | Martin Willi <martin@revosec.ch> | 2010-07-26 12:05:04 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-07-26 13:53:53 +0200 |
commit | b2e447e24a95d9df6c5e188ecf92c29ef54a73cc (patch) | |
tree | 054d186233351734cc92e2806d47cd64c4d7b5c8 /src/libcharon/sa/tasks/child_create.c | |
parent | aa334daa9bf3f87b4c8f0565a6f56d67da651316 (diff) | |
download | strongswan-b2e447e24a95d9df6c5e188ecf92c29ef54a73cc.tar.bz2 strongswan-b2e447e24a95d9df6c5e188ecf92c29ef54a73cc.tar.xz |
Pass the CREATE_CHILD_SA initiator flag to the child_keys parameter
Diffstat (limited to 'src/libcharon/sa/tasks/child_create.c')
-rw-r--r-- | src/libcharon/sa/tasks/child_create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/sa/tasks/child_create.c b/src/libcharon/sa/tasks/child_create.c index 1113e473b..3de27ee3f 100644 --- a/src/libcharon/sa/tasks/child_create.c +++ b/src/libcharon/sa/tasks/child_create.c @@ -489,8 +489,8 @@ static status_t select_and_install(private_child_create_t *this, return NOT_FOUND; } - charon->bus->child_keys(charon->bus, this->child_sa, this->dh, - nonce_i, nonce_r); + charon->bus->child_keys(charon->bus, this->child_sa, this->initiator, + this->dh, nonce_i, nonce_r); /* add to IKE_SA, and remove from task */ this->child_sa->set_state(this->child_sa, CHILD_INSTALLED); |