]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: global: remove LSTCHK_CAP_BIND
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Fri, 15 Mar 2024 15:11:25 +0000 (16:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Apr 2024 16:01:54 +0000 (18:01 +0200)
Remove LSTCHK_CAP_BIND as it is never set and never checked.

include/haproxy/global-t.h

index b6d8c0723d78e3501af07698f04086632a949a7b..92d2c6bc1116a62f7e2ade10f8d829e4f9353265 100644 (file)
@@ -46,7 +46,7 @@
 #define        MODE_DUMP_NB_L  0x10000 /* dump line numbers when the configuration file is dump */
 
 /* list of last checks to perform, depending on config options */
-#define LSTCHK_CAP_BIND        0x00000001      /* check that we can bind to any port */
+/* unused: 0x00000001  */
 #define LSTCHK_NETADM  0x00000002      /* check that we have CAP_NET_ADMIN */
 
 /* Global tuning options */