From 0aabd1cfebad3ff4c495ac8e115812c0c14cfb5a Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 27 Apr 2026 14:32:36 +0200 Subject: [PATCH] BUG/MINOR: peers: fix wrong flag reported twice for dump_flags Flag PEERS_F_DBG_RESYNC_REMOTEASSIGN was missing and PEERS_F_DBG_RESYNC_REMOTEABORT appeared twice instead, so the former would not appear in flags dumps. This can be backported to 3.0.0. --- include/haproxy/peers-t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/peers-t.h b/include/haproxy/peers-t.h index 19619d0a1..8d62c6021 100644 --- a/include/haproxy/peers-t.h +++ b/include/haproxy/peers-t.h @@ -88,7 +88,7 @@ static forceinline char *peers_show_flags(char *buf, size_t len, const char *del _(PEERS_F_DBG_RESYNC_LOCALABORT, _(PEERS_F_DBG_RESYNC_REMOTEABORT, _(PEERS_F_DBG_RESYNC_LOCALFINISHED, _(PEERS_F_DBG_RESYNC_REMOTEFINISHED, _(PEERS_F_DBG_RESYNC_LOCALPARTIAL, _(PEERS_F_DBG_RESYNC_REMOTEPARTIAL, - _(PEERS_F_DBG_RESYNC_LOCALASSIGN, _(PEERS_F_DBG_RESYNC_REMOTEABORT))))))))))))); + _(PEERS_F_DBG_RESYNC_LOCALASSIGN, _(PEERS_F_DBG_RESYNC_REMOTEASSIGN))))))))))))); /* epilogue */ _(~0U); return buf;