commit | 1ad64acf6cfb4d804cf5da2581382995cec8b649 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 24 08:48:08 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 09 11:27:30 2020 +0200 |
tree | b97b8768b16ff73224b5e8e66cac2841446f1491 | |
parent | b50bf046e8340d32a2034affdc515881e0b5caf7 [diff] |
CLEANUP: peers: don't use the PR_ST* states to mark enabled/disabled The enabled/disabled config options were stored into a "state" field that is an integer but contained only PR_STNEW or PR_STSTOPPED, which is a bit confusing, and causes a dependency with proxies. This was renamed to "disabled" and is used as a boolean. The field was also moved to the end of the struct to stop creating a hole and fill another one.