Fix failing network test

This commit is contained in:
Tristan Rivoallan 2015-09-28 15:48:09 +02:00 committed by Seth Vargo
parent 004fe0e7bb
commit 2c6ef938c7
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ module VagrantPlugins
options[:type] = options[:type].to_sym
# Default IP is in the 20-bit private network block for DHCP based networks
options[:ip] = options[:dhcp_ip] if options[:type] == :dhcp && !options[:ip]
options[:ip] = options[:dhcp_ip] if options[:type] == :dhcp
ip = IPAddr.new(options[:ip])