diff options
author | Thomas Markwalder <tmark@isc.org> | 2017-11-29 07:51:50 -0500 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2017-11-29 07:51:50 -0500 |
commit | 30593241995b57f039620c781ece069ea7b751b7 (patch) | |
tree | fba073c5fd5acd92494283023d864522a1419d2d /server/dhcpd.conf.5 | |
parent | 8e2197467f2f2fa8c794cb10e25f321a98c0e439 (diff) | |
download | isc-dhcp-30593241995b57f039620c781ece069ea7b751b7.tar.gz |
[45364] Replaced --enable-secs-byteorder with runtime check-secs-byte-order
configure.ac
removed --enable-secs-byteorder support
includes/dhcpd.h
added SV_CHECK_SECS_BYTE_ORDER
includes/failover.h
added extern int check_secs_byte_order
server/dhcpd.c
postconf_initialization() - added logic to
set check_secs_byte_order
server/failover.c
load_balance_mine() - replaced conditional comp
directives with runtime test of check_secs_byte_order
Added release note and updated man page.
Diffstat (limited to 'server/dhcpd.conf.5')
-rw-r--r-- | server/dhcpd.conf.5 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/server/dhcpd.conf.5 b/server/dhcpd.conf.5 index 02f854a9..42b23894 100644 --- a/server/dhcpd.conf.5 +++ b/server/dhcpd.conf.5 @@ -2021,6 +2021,20 @@ addresses, as long as those addresses are not restricted by and \fIdeny\fR statements within their \fIpool\fR declarations. .RE .PP +The \fIcheck-secs-byte-order\fR statement +.RS 0.25i +.PP +.B check-secs-byte-order \fIflag\fB;\fR +.PP +When \fIcheck-secs-byte-order\fR is enabled, the server will check for DHPCv4 +clients that do the byte ordering on the secs field incorrectly. This field +should be in network byte order but some clients get it wrong. When this +parameter is enabled the server will examine the secs field and if it looks +wrong (high byte non zero and low byte zero) swap the bytes. The default +is disabled. This parameter is only useful when doing load balancing within +failover. (Formerly, this behavior had to be enabled during compilation +configuration via --enable-secs-byteorder). +.PP The \fIdb-time-format\fR statement .RS 0.25i .PP |