mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04: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 e28e647fef
is backported.
This commit is contained in:
parent
e28e647fef
commit
ba5738489f
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Reference in a new issue