plugins/providers/virtualbox/model/forwarded_port.rb in vagrantup-1.1.2 vs plugins/providers/virtualbox/model/forwarded_port.rb in vagrantup-1.1.3

- old
+ new

@@ -40,10 +40,10 @@ @host_port = host_port options ||= {} @auto_correct = true @auto_correct = options[:auto_correct] if options.has_key?(:auto_correct) - @adapter = options[:adapter] || 1 + @adapter = options[:adapter].to_i || 1 @protocol = options[:protocol] || "tcp" end # This corrects the host port and changes it to the given new port. #