]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: cfgparse: remove duplicate registration for transparent build options
authorJerome Magnin <jerome@layaute.net>
Wed, 30 Sep 2020 16:05:38 +0000 (18:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:27:16 +0000 (19:27 +0100)
Since commit 37bafdcbb ("MINOR: sock_inet: move the IPv4/v6 transparent mode code
to sock_inet"), build options for transparent proxying are registered twice.
This patch removes the older one.

src/cfgparse-tcp.c

index 0bf347bcc3ecd6c6ab38a2a16b056a9cb88c3640..4dc39d547f435786cbe01ac2896480f3c346bfd7 100644 (file)
@@ -289,29 +289,6 @@ static struct srv_kw_list srv_kws = { "TCP", { }, {
 
 INITCALL1(STG_REGISTER, srv_register_keywords, &srv_kws);
 
-
-REGISTER_BUILD_OPTS("Built with transparent proxy support using:"
-#if defined(IP_TRANSPARENT)
-                   " IP_TRANSPARENT"
-#endif
-#if defined(IPV6_TRANSPARENT)
-                   " IPV6_TRANSPARENT"
-#endif
-#if defined(IP_FREEBIND)
-                   " IP_FREEBIND"
-#endif
-#if defined(IP_BINDANY)
-                   " IP_BINDANY"
-#endif
-#if defined(IPV6_BINDANY)
-                   " IPV6_BINDANY"
-#endif
-#if defined(SO_BINDANY)
-                   " SO_BINDANY"
-#endif
-                   "");
-
-
 /*
  * Local variables:
  *  c-indent-level: 8