Don't "return" if FP less than port 1024 [GH-1421]
This commit is contained in:
parent
529cb21154
commit
f03175b4af
|
@ -14,6 +14,8 @@ BUG FIXES:
|
|||
- Human friendly error when "metadata.json" is missing in a box.
|
||||
- Don't use the full path to the manifest file with the Puppet provisioner
|
||||
because it exposes a bug with Puppet path lookup on VMware.
|
||||
- Fix bug in VirtualBox provider where port forwarding just didn't work if
|
||||
you attempted to forward to a port under 1024. [GH-1421]
|
||||
|
||||
## 1.1.0 (March 14, 2013)
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ module VagrantPlugins
|
|||
env[:forwarded_ports].each do |fp|
|
||||
if fp.host_port <= 1024
|
||||
env[:ui].warn I18n.t("vagrant.actions.vm.forward_ports.privileged_ports")
|
||||
return
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue