This commit is contained in:
Dmitry Vasilets 2015-09-24 04:57:31 +02:00
parent b20c99ffd8
commit 91fa94c62b

View File

@ -60,7 +60,7 @@ module VagrantPlugins
forward_mode: 'nat',
}.merge(options)
if options[:type] == :dhcp && !options[:ip]
if options[:type] == :dhcp && options[:ip].nil?
options[:network_name] = "vagrant-private-dhcp"
end