Use a proper args array for V1 forwarded ports. Fixes #1330

This commit is contained in:
Mitchell Hashimoto 2013-01-22 14:28:38 -08:00
parent 1fd74da294
commit 44d6b9a3f7
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ module VagrantPlugins
network_options[:virtualbox__protocol] = options[:protocol] network_options[:virtualbox__protocol] = options[:protocol]
# Just append the forwarded port to the networks # Just append the forwarded port to the networks
@networks << [:forwarded_port, guestport, hostport, network_options] @networks << [:forwarded_port, [guestport, hostport, network_options]]
end end
def share_folder(name, guestpath, hostpath, opts=nil) def share_folder(name, guestpath, hostpath, opts=nil)