commit | e01ca0fbc9c72de95514816e016a58c5a28ab2a8 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Mar 01 11:21:14 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Mar 01 11:28:54 2021 +0100 |
tree | a512b4631b4805177cb960d92850b6298c4a7737 | |
parent | 0de36adb5c60f4037242e830da4a82b0ace129bc [diff] |
BUG/MINOR: tcp-act: Don't forget to set the original port for IPv4 set-dst rule If an IPv4 is set via a TCP/HTTP set-dst rule, the original port must be preserved or set to 0 if the previous family was neither AF_INET nor AF_INET6. The first case is not an issue because the port remains the same. But if the previous family was, for instance, AF_UNIX, the port is not set to 0 and have an undefined value. This patch must be backported as far as 1.7.