Merge pull request #948 from kindjal/master

is_port_open.rb needs to catch ENETUNREACH
This commit is contained in:
Mitchell Hashimoto 2012-05-25 20:23:04 -07:00
commit ba91169dc4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ module Vagrant
# to connect. # to connect.
return true return true
end end
rescue Timeout::Error, Errno::ECONNREFUSED, Errno::EHOSTUNREACH rescue Timeout::Error, Errno::ECONNREFUSED, Errno::EHOSTUNREACH, Errno::ENETUNREACH
# 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