Default forward port adapter for VirtualBox should be 1

This commit is contained in:
Mitchell Hashimoto 2013-03-25 14:32:15 -07:00
parent 0903e62add
commit d9c1b4b3fc
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ module VagrantPlugins
options ||= {}
@auto_correct = true
@auto_correct = options[:auto_correct] if options.has_key?(:auto_correct)
@adapter = options[:adapter].to_i || 1
@adapter = (options[:adapter] || 1).to_i
@protocol = options[:protocol] || "tcp"
end