Added tfc_padding option, changes signature to master changes
This commit is contained in:
@@ -146,14 +146,18 @@ static child_cfg_t *load_child_config(private_config_t *this,
|
|||||||
host_t *net;
|
host_t *net;
|
||||||
char *token;
|
char *token;
|
||||||
int bits;
|
int bits;
|
||||||
|
u_int32_t tfc;
|
||||||
|
|
||||||
if (settings->get_bool(settings, "configs.%s.%s.transport",
|
if (settings->get_bool(settings, "configs.%s.%s.transport",
|
||||||
FALSE, config, child))
|
FALSE, config, child))
|
||||||
{
|
{
|
||||||
mode = MODE_TRANSPORT;
|
mode = MODE_TRANSPORT;
|
||||||
}
|
}
|
||||||
|
tfc = settings->get_int(settings, "configs.%s.%s.tfc_padding",
|
||||||
|
0, config, child);
|
||||||
child_cfg = child_cfg_create(child, &lifetime, NULL, FALSE, mode,
|
child_cfg = child_cfg_create(child, &lifetime, NULL, FALSE, mode,
|
||||||
ACTION_NONE, ACTION_NONE, FALSE, 0, 0, NULL, NULL);
|
ACTION_NONE, ACTION_NONE, ACTION_NONE,
|
||||||
|
FALSE, 0, 0, NULL, NULL, tfc);
|
||||||
|
|
||||||
token = settings->get_str(settings, "configs.%s.%s.proposal",
|
token = settings->get_str(settings, "configs.%s.%s.proposal",
|
||||||
NULL, config, child);
|
NULL, config, child);
|
||||||
|
|||||||
Reference in New Issue
Block a user