mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-04 22:32:49 -04:00
Use a proper args array for V1 forwarded ports. Fixes #1330
This commit is contained in:
parent
1fd74da294
commit
44d6b9a3f7
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ module VagrantPlugins
|
|||
network_options[:virtualbox__protocol] = options[:protocol]
|
||||
|
||||
# Just append the forwarded port to the networks
|
||||
@networks << [:forwarded_port, guestport, hostport, network_options]
|
||||
@networks << [:forwarded_port, [guestport, hostport, network_options]]
|
||||
end
|
||||
|
||||
def share_folder(name, guestpath, hostpath, opts=nil)
|
||||
|
|
|
|||
Loading…
Reference in a new issue