mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 22:15:14 +00:00
[BUG] build failed on CONFIG_HAP_LINUX_TPROXY without CONFIG_HAP_CTTPROXY
changed #ifdef
This commit is contained in:
parent
e8c66afd41
commit
4864c35209
@ -204,7 +204,7 @@ struct proxy {
|
||||
int conn_retries; /* maximum number of connect retries */
|
||||
int cap; /* supported capabilities (PR_CAP_*) */
|
||||
struct sockaddr_in source_addr; /* the address to which we want to bind for connect() */
|
||||
#ifdef CONFIG_HAP_CTTPROXY
|
||||
#if defined(CONFIG_HAP_CTTPROXY) || defined(CONFIG_HAP_LINUX_TPROXY)
|
||||
struct sockaddr_in tproxy_addr; /* non-local address we want to bind to for connect() */
|
||||
#endif
|
||||
struct proxy *next;
|
||||
|
@ -85,7 +85,7 @@ struct server {
|
||||
|
||||
struct sockaddr_in addr; /* the address to connect to */
|
||||
struct sockaddr_in source_addr; /* the address to which we want to bind for connect() */
|
||||
#ifdef CONFIG_HAP_CTTPROXY
|
||||
#if defined(CONFIG_HAP_CTTPROXY) || defined(CONFIG_HAP_LINUX_TPROXY)
|
||||
struct sockaddr_in tproxy_addr; /* non-local address we want to bind to for connect() */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user