From: Willy Tarreau Date: Mon, 27 Apr 2026 12:32:36 +0000 (+0200) Subject: BUG/MINOR: peers: fix wrong flag reported twice for dump_flags X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=0aabd1cfebad3ff4c495ac8e115812c0c14cfb5a;p=thirdparty%2Fhaproxy.git 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. --- 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;