aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-06-17 20:47:24 +0000
committerOmar Polo <op@omarpolo.com>2024-06-17 20:47:24 +0000
commit94f143773948fe3bf811a9cd8c233198af58235b (patch)
tree2c6c7a4166ddc294c90a54c850d5056814853a2b /gmid.h
parentc46b7a0c11dee112af857732636e73ef20ccb5e7 (diff)
add a proxy-v1 keyword to enable the proxy protocol handling
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gmid.h b/gmid.h
index 7819cb1..9f102db 100644
--- a/gmid.h
+++ b/gmid.h
@@ -116,6 +116,7 @@ struct address {
struct sockaddr_storage ss;
socklen_t slen;
int16_t port;
+ int proxy;
/* pretty-printed version of `ss' */
char pp[NI_MAXHOST];