Added IKE options to configure source/destination ports
This commit is contained in:
parent
448db6d9c0
commit
74a5dfe537
|
@ -103,8 +103,10 @@ static ike_cfg_t *load_ike_config(private_config_t *this,
|
|||
|
||||
ike_cfg = ike_cfg_create(TRUE,
|
||||
settings->get_bool(settings, "configs.%s.fake_nat", FALSE, config),
|
||||
settings->get_str(settings, "configs.%s.lhost", "%any", config), 500,
|
||||
settings->get_str(settings, "configs.%s.rhost", "%any", config), 500);
|
||||
settings->get_str(settings, "configs.%s.lhost", "%any", config),
|
||||
settings->get_int(settings, "configs.%s.lport", 500, config),
|
||||
settings->get_str(settings, "configs.%s.rhost", "%any", config),
|
||||
settings->get_int(settings, "configs.%s.rport", 500, config));
|
||||
token = settings->get_str(settings, "configs.%s.proposal", NULL, config);
|
||||
if (token)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue