Added a TFC padding option to child_cfg

This commit is contained in:
Martin Willi
2010-12-20 09:45:39 +01:00
parent d86bb6ef4d
commit 37788b1d06
12 changed files with 36 additions and 12 deletions
@@ -292,7 +292,7 @@ static job_requeue_t initiate(private_android_service_t *this)
child_cfg = child_cfg_create("android", &lifetime, NULL, TRUE, MODE_TUNNEL,
ACTION_NONE, ACTION_NONE, ACTION_NONE, FALSE,
0, 0, NULL, NULL);
0, 0, NULL, NULL, 0);
child_cfg->add_proposal(child_cfg, proposal_create_default(PROTO_ESP));
ts = traffic_selector_create_dynamic(0, 0, 65535);
child_cfg->add_traffic_selector(child_cfg, TRUE, ts);