From eff2e0a958816ace5ea71c4e958dff647b5bf170 Mon Sep 17 00:00:00 2001 From: Jerome Magnin Date: Wed, 30 Sep 2020 18:05:38 +0200 Subject: [PATCH] CLEANUP: cfgparse: remove duplicate registration for transparent build options 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 | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/cfgparse-tcp.c b/src/cfgparse-tcp.c index 0bf347b..4dc39d5 100644 --- a/src/cfgparse-tcp.c +++ b/src/cfgparse-tcp.c @@ -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 -- 1.7.10.4