[ISC-Bugs #36712] Corrects Coverity reported "high" impact issues
[ISC-Bugs #36933] Corrects Coverity reported "medium" impact issues
+- Server now supports a failover split value of 256.
+ [ISC-Bugs] #36664]
+
Changes since 4.1-ESV-R10rc1
- None
return;
}
split = atoi (val);
- if (split > 255) {
- parse_warn (cfile, "split must be < 256");
+ if (split > 256) {
+ parse_warn (cfile, "split must be between "
+ "0 and 256, inclusive");
} else {
memset (hba, 0, sizeof hba);
for (i = 0; i < split; i++) {
statement
.RS 0.25i
.PP
-.B split \fIindex\fR\fB;\fR
+.B split \fIbits\fR\fB;\fR
.PP
The split statement specifies the split between the primary and
secondary for the purposes of load balancing. Whenever a client
how many of the leading bits are set to one. So, in practice, higher
split values will cause the primary to serve more clients than the
secondary. Lower split values, the converse. Legal values are between
-0 and 255, of which the most reasonable is 128.
+0 and 256 inclusive, of which the most reasonable is 128. Note that
+a value of 0 makes the secondary responsible for all clients and a value
+of 256 makes the primary responsible for all clients.
.RE
.PP
The