Broke in dba9707713eb49a39b218f331c252fb09494c566.
---
 src/server.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/server.c b/src/server.c
index 23343d86..536bf853 100644
--- a/src/server.c
+++ b/src/server.c
@@ -1742,12 +1742,14 @@ int parse_server(const char *file, int linenum, char 
**args, struct proxy *curpr
                                        }
                                }
                        }
+#if defined(CONFIG_HAP_TRANSPARENT)
                        if (curproxy->defsrv.conn_src.bind_hdr_name != NULL) {
                                newsrv->conn_src.bind_hdr_name = 
strdup(curproxy->defsrv.conn_src.bind_hdr_name);
                                newsrv->conn_src.bind_hdr_len = 
strlen(curproxy->defsrv.conn_src.bind_hdr_name);
                        }
                        newsrv->conn_src.bind_hdr_occ = 
curproxy->defsrv.conn_src.bind_hdr_occ;
                        newsrv->conn_src.tproxy_addr = 
curproxy->defsrv.conn_src.tproxy_addr;
+#endif
                        if (curproxy->defsrv.conn_src.iface_name != NULL)
                                newsrv->conn_src.iface_name = 
strdup(curproxy->defsrv.conn_src.iface_name);
 
-- 
2.11.1


Reply via email to