]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: tools: Use const address for get_net_port() and get_host_port()
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Oct 2021 13:32:48 +0000 (15:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 27 Oct 2021 09:34:21 +0000 (11:34 +0200)
commit99163b75ec5ab831386141b64510b041fa023579
treec953521d2edb34b8b88af0fbb39e26abcb598f71
parent4bfce397b80234a129862197daf1e7ed5de11c16
CLEANUP: tools: Use const address for get_net_port() and get_host_port()

These functions only extract the port from an address. There is no reason to
not use a const address.
include/haproxy/tools.h