Merge pull request #1260 from hdorio/master
Attempt to fix #1108, #1109, tcp and udp port on the same port number
This commit is contained in:
commit
a4896293ff
|
@ -32,7 +32,8 @@ module VagrantPlugins
|
|||
# approach.
|
||||
guest_port_mapping = {}
|
||||
@env[:machine].config.vm.forwarded_ports.each do |options|
|
||||
guest_port_mapping[options[:guestport]] = options
|
||||
key = options[:protocol].to_s + options[:guestport].to_s
|
||||
guest_port_mapping[key] = options
|
||||
end
|
||||
|
||||
# Return the values, since the order doesn't really matter
|
||||
|
|
Loading…
Reference in New Issue