Merge pull request #8517 from vbrh-immalle/master
Update is_port_open.rb
This commit is contained in:
commit
49a569beba
|
@ -30,7 +30,8 @@ module Vagrant
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
rescue Timeout::Error, Errno::ECONNREFUSED, Errno::EHOSTUNREACH, \
|
rescue Timeout::Error, Errno::ECONNREFUSED, Errno::EHOSTUNREACH, \
|
||||||
Errno::ENETUNREACH, Errno::EACCES, Errno::ENOTCONN
|
Errno::ENETUNREACH, Errno::EACCES, Errno::ENOTCONN, \
|
||||||
|
Errno::EADDRNOTAVAIL
|
||||||
# Any of the above exceptions signal that the port is closed.
|
# Any of the above exceptions signal that the port is closed.
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue