]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: stats: STATS_PX_CAP___B_ macro
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 17 Mar 2025 10:32:14 +0000 (11:32 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 20 Mar 2025 10:37:47 +0000 (11:37 +0100)
STATS_PX_CAP___B_ points to STATS_PX_CAP_BE, it is just an alias
for consistency, like STATS_PX_CAP____S which points to
STATS_PX_CAP_SRV.

include/haproxy/stats-t.h

index f16bb376400592d4c2567c7dee87c805bb8c2630..0b60796b665d74d91f51a064d0329c879adb17a6 100644 (file)
@@ -565,6 +565,7 @@ enum stats_domain_px_cap {
 #define STATS_PX_CAP__F__ (STATS_PX_CAP_FE)
 #define STATS_PX_CAP___BS (STATS_PX_CAP_BE|STATS_PX_CAP_SRV)
 #define STATS_PX_CAP____S (STATS_PX_CAP_SRV)
+#define STATS_PX_CAP___B_ (STATS_PX_CAP_BE)
 
 /* the context of a "show stat" command in progress on the CLI or the stats applet */
 struct show_stat_ctx {