fix local/remote confusion in getPorts (!)
This commit is contained in:
parent
1162c8adff
commit
786a631995
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ func getPortPairs(ports []string) ([]portPair, error) {
|
|||
return pp, fmt.Errorf("convert local port to int: %v", err)
|
||||
}
|
||||
|
||||
pp = append(pp, portPair{local, remote})
|
||||
pp = append(pp, portPair{remote, local})
|
||||
}
|
||||
|
||||
return pp, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue