fix copypasta mistake switching ssh port mix/max for vnc port min/max

This commit is contained in:
Megan Marsh 2019-05-06 15:01:09 -07:00
parent 69009472b4
commit bf59f01ba2
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ func (s *stepForwardSSH) Run(ctx context.Context, state multistep.StateBag) mult
var err error
s.l, err = net.ListenRangeConfig{
Addr: config.VNCBindAddress,
Min: config.VNCPortMin,
Max: config.VNCPortMax,
Min: config.SSHHostPortMin,
Max: config.SSHHostPortMax,
Network: "tcp",
}.Listen(ctx)
if err != nil {