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
+1 -1
View File
@@ -224,7 +224,7 @@ static void setup_tunnel(private_ha_tunnel_t *this,
child_cfg = child_cfg_create("ha", &lifetime, NULL, TRUE, MODE_TRANSPORT,
ACTION_NONE, ACTION_NONE, ACTION_NONE, FALSE,
0, 0, NULL, NULL);
0, 0, NULL, NULL, 0);
ts = traffic_selector_create_dynamic(IPPROTO_UDP, HA_PORT, HA_PORT);
child_cfg->add_traffic_selector(child_cfg, TRUE, ts);
ts = traffic_selector_create_dynamic(IPPROTO_ICMP, 0, 65535);