aboutgitcodebugslistschat
path: root/test/build/cppcheck
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2023-03-20 19:10:34 +0100
committerStefano Brivio <sbrivio@redhat.com>2023-03-21 14:18:54 +0100
commit418f75ac378088f30d8f8d9a9709b72bfb5859e4 (patch)
tree825a1ddda68117b9f3c08af80a4c47eaa1b11c6c /test/build/cppcheck
parentdd2349661933c4e9756e524ae9465f38b53b7557 (diff)
downloadpasst-418f75ac378088f30d8f8d9a9709b72bfb5859e4.tar
passt-418f75ac378088f30d8f8d9a9709b72bfb5859e4.tar.gz
passt-418f75ac378088f30d8f8d9a9709b72bfb5859e4.tar.bz2
passt-418f75ac378088f30d8f8d9a9709b72bfb5859e4.tar.lz
passt-418f75ac378088f30d8f8d9a9709b72bfb5859e4.tar.xz
passt-418f75ac378088f30d8f8d9a9709b72bfb5859e4.tar.zst
passt-418f75ac378088f30d8f8d9a9709b72bfb5859e4.zip
pasta: fix tcp port forwarding in auto mode
The logic in tcp_timer() was inverted. fwd_out should expose the host ports in the ns. Therfore it must read the ports on the host and then bind them in the netns. The same for fwd_in which checks ports in the ns and then exposes them on the host. Note that this only fixes tcp ports, udp does not seems to work at all right now with the auto mode. Signed-off-by: Paul Holzinger <pholzing@redhat.com> Fixes: 1128fa03fe73 ("Improve types and names for port forwarding configuration") Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/build/cppcheck')
0 files changed, 0 insertions, 0 deletions