Fix s2s test

This commit is contained in:
Paweł Chmielowski 2016-11-21 12:06:45 +01:00
parent c5e7b4738f
commit e57de02e0f
2 changed files with 4 additions and 1 deletions

View File

@ -456,6 +456,7 @@ route_subdomains: s2s
domain_certfile: CERTFILE
s2s_use_starttls: false
s2s_cafile: CAFILE
outgoing_s2s_port: @@s2s_port@@
shaper:
fast: 50000
normal: 10000

View File

@ -142,7 +142,9 @@ process_config_tpl(Content, [{Name, DefaultValue} | Rest]) ->
V3 ->
V3
end,
NewContent = binary:replace(Content, <<"@@",(atom_to_binary(Name, latin1))/binary, "@@">>, Val),
NewContent = binary:replace(Content,
<<"@@",(atom_to_binary(Name,latin1))/binary, "@@">>,
Val, [global]),
process_config_tpl(NewContent, Rest).
stream_header(Config) ->