]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: log-format: backend source address %Bi %Bp
authorWilliam Lallemand <wlallemand@exceliance.fr>
Fri, 2 Mar 2012 13:35:21 +0000 (14:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Mar 2012 14:50:52 +0000 (15:50 +0100)
commitb7ff6a3a36658d7c829de626beea6df80c79a3cb
tree5b12902bdb4d9c0b6527b712f0f95df1f2595585
parentbddd4fd93b8d9e77aeeae19440f6343d7327c195
MEDIUM: log-format: backend source address %Bi %Bp

%Bi return the backend source IP
%Bp return the backend source port

Add a function pointer in logformat_type to do additional configuration
during the log-format variable parsing.
doc/configuration.txt
include/types/log.h
include/types/proxy.h
include/types/session.h
include/types/stream_interface.h
src/backend.c
src/log.c
src/proto_tcp.c