diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-03-24 15:35:16 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-03-29 19:18:40 +0200 |
commit | eedaaf33cdbfd6adced57ac8493d679b3f729493 (patch) | |
tree | b550b0cf05d0c8a0d0fadbbd814aa91b46d8a3b2 /pkg/hooks/hooks.go | |
parent | 83d0729146dc4616e180c8d36ffd90de093b8617 (diff) | |
download | podman-eedaaf33cdbfd6adced57ac8493d679b3f729493.tar.gz podman-eedaaf33cdbfd6adced57ac8493d679b3f729493.tar.bz2 podman-eedaaf33cdbfd6adced57ac8493d679b3f729493.zip |
fix slirp4netns port forwarding with ranges
The slirp4netns port forwarder was not updated to make use of the new
port format. This results in a problem when port ranges are used since
it does not read the range field from the port.
Update the logic to iterate through all ports with the range and
protocols. Also added a system test for port ranges with slirp4netns,
rootlesskit and the bridge network mode.
Fixes #13643
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/hooks/hooks.go')
0 files changed, 0 insertions, 0 deletions