summaryrefslogtreecommitdiff
path: root/contrib/cirrus
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2020-12-08 15:57:19 -0500
committerMatthew Heon <mheon@redhat.com>2020-12-08 16:23:14 -0500
commit6b7612062ebf25f9969233b1accea3e376c313cc (patch)
treee207fa339c7dcbd4f6c9f31ac0663bcebe41ecdb /contrib/cirrus
parent7caef9c497da0c2a16caf4f15152bc543dfb6008 (diff)
downloadpodman-6b7612062ebf25f9969233b1accea3e376c313cc.tar.gz
podman-6b7612062ebf25f9969233b1accea3e376c313cc.tar.bz2
podman-6b7612062ebf25f9969233b1accea3e376c313cc.zip
Correct port range logic for port generation
The existing logic (Range > 0) always triggered, because range is guaranteed to be at least 1 (a single port has a range of 1, a two port range (e.g. 80-81) has a range of 2, and so on). As such this could cause ports that had a host port assigned to them by the user to randomly assign one instead. Fixes #8650 Fixes #8651 Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'contrib/cirrus')
0 files changed, 0 insertions, 0 deletions