Add reqid field and getter function to child_cfg_t.

This commit is contained in:
Reto Buerki
2010-05-04 14:38:34 +02:00
committed by Martin Willi
parent 1f83541d7b
commit 277fcf9f86
9 changed files with 34 additions and 11 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ static child_cfg_t *build_child_cfg(private_sql_config_t *this, enumerator_t *e)
.time = { .life = lifetime, .rekey = rekeytime, .jitter = jitter }
};
child_cfg = child_cfg_create(name, &lft, updown, hostaccess, mode,
dpd, close, ipcomp, 0);
dpd, close, ipcomp, 0, 0);
/* TODO: read proposal from db */
child_cfg->add_proposal(child_cfg, proposal_create_default(PROTO_ESP));
add_traffic_selectors(this, child_cfg, id);