mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
MINOR: fwlc: Factorize code.
Always set unusable if we could not use a server, instead of doing it in each branch This should be backported to 3.2 after e28e647fef43e5865c87f328832fec7794a423e5 is backported.
This commit is contained in:
parent
e28e647fef
commit
ba5738489f
@ -806,10 +806,8 @@ redo:
|
||||
break;
|
||||
}
|
||||
avoided = s;
|
||||
unusable++;
|
||||
}
|
||||
else
|
||||
unusable++;
|
||||
unusable++;
|
||||
i++;
|
||||
} else if (mt_list.next == &tree_elt->srv_list[(i + orig_nb) % FWLC_LISTS_NB]) {
|
||||
i++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user