Commit 6ba90137 authored by Amadeu Andrade Barbosa Junior's avatar Amadeu Andrade Barbosa Junior
Browse files

[OPENBUS-1674] Problema no uso da opção tcpoptions.reuseaddr do OiL no Windows

 - Alteração para verificar corretamente a definição de tcpoptions.reuseaddr


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/branches/OB_SDK_LUA_v1_05_03_2011_07_28@146855 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 0c42338b
......@@ -360,7 +360,7 @@ function Openbus:init(host, port, props, serverInterceptorConfig,
if not props.tcpoptions then
props.tcpoptions = {}
end
if not props.tcpoptions.reuseaddr then
if props.tcpoptions.reuseaddr == nil then
props.tcpoptions.reuseaddr = true
end
if not props.flavor then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment