]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: add a target type instead of hacking the address family
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2019 12:18:44 +0000 (14:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2019 13:07:25 +0000 (15:07 +0200)
commitf3dc30f6de28820a35d670a27959365a493d43a7
tree06525f418f0364c3e66fbcf2ad70667e864ed35e
parentd52a7f8c8df473df53392652643bfde78d31ec9e
MINOR: log: add a target type instead of hacking the address family

Instead of detecting an AF_UNSPEC address family for a log server and
to deduce a file descriptor, let's create a target type field and
explicitly mention that the socket is of type FD.
include/types/log.h
src/log.c