aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-11-17 22:41:16 +0000
committerLaurent Bercot <ska@appnovation.com>2023-11-17 22:41:16 +0000
commitbdcd701136294f1d3a5e93047edb8bd40b54a27a (patch)
tree84c5a100390c9a22140f44a7108d1918536435bb /src/include
parent7ec647fa64c0a6f29cbb83cc264868b15e4bb046 (diff)
downloadtipidee-bdcd701136294f1d3a5e93047edb8bd40b54a27a.tar.gz
Add X-Forwarded-For logging support
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/tipidee/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/tipidee/log.h b/src/include/tipidee/log.h
index 93ee386..b8decc0 100644
--- a/src/include/tipidee/log.h
+++ b/src/include/tipidee/log.h
@@ -23,6 +23,7 @@
#define TIPIDEE_LOG_CLIENTIP 0x0080
#define TIPIDEE_LOG_CLIENTHOST 0x0100
#define TIPIDEE_LOG_HOSTASPREFIX 0x0200
+#define TIPIDEE_LOG_XFORWARDEDFOR 0x0400
#define TIPIDEE_LOG_DEBUG 0x8000
#define TIPIDEE_LOG_DEFAULT (TIPIDEE_LOG_REQUEST | TIPIDEE_LOG_ANSWER | TIPIDEE_LOG_SIZE)