Commit 5c962201 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_2010_05_13@146855 ae0415b3-e90b-0410-900d-d0be9363c56b
parent e0a0de71
......@@ -334,7 +334,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