Merge pull request #7615 from hashicorp/fix_7607

fix copypasta mistake switching ssh port mix/max for vnc port min/max
This commit is contained in:
Adrien Delorme 2019-05-07 12:17:45 +02:00 committed by GitHub
commit a6bb06c04e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {