Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
dhcp
Commits
b53ba157
Commit
b53ba157
authored
Dec 07, 2017
by
Thomas Markwalder
Browse files
[master] Changes prefix-length-mode default to be "prefer"
Merges in rt45615.
parent
60882b8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
RELNOTES
View file @
b53ba157
...
...
@@ -256,6 +256,14 @@ dhcp-users@lists.isc.org.
FQDN
option
unfortunately
broke
its
ability
send
back
dhcp6
.
vendor
-
opts
.
[
ISC
-
Bugs
#
46427
]
-
The
default
value
for
server
(-
6
)
parameter
,
prefix
-
length
-
mode
,
has
been
changed
from
"exact"
to
"prefer"
.
In
"prefer"
mode
the
server
will
offer
the
first
available
prefix
with
the
same
length
as
that
requested
by
the
client
.
If
none
are
found
then
it
will
offer
the
first
available
prefix
of
any
length
.
This
is
more
in
line
with
with
RFC
8168
and
should
improve
the
out
-
of
-
the
-
box
user
experience
.
[
ISC
-
Bugs
#
45615
]
Changes
since
4.3.0
(
bug
fixes
)
-
Tidy
up
several
small
tickets
.
...
...
server/dhcpd.c
View file @
b53ba157
...
...
@@ -77,7 +77,7 @@ option server.ddns-rev-domainname = \"in-addr.arpa.\";";
int
ddns_update_style
;
int
dont_use_fsync
=
0
;
/* 0 = default, use fsync, 1 = don't use fsync */
int
server_id_check
=
0
;
/* 0 = default, don't check server id, 1 = do check */
int
prefix_length_mode
=
PLM_
EXACT
;
int
prefix_length_mode
=
PLM_
PREFER
;
int
authoring_byte_order
=
0
;
/* 0 = not set */
int
lease_id_format
=
TOKEN_OCTAL
;
/* octal by default */
...
...
server/dhcpd.conf.5
View file @
b53ba157
...
...
@@ -2922,11 +2922,11 @@ available prefix.
.PP
2. prefer - The server will offer the first available prefix with the same
length as the requested length. If none are found then it will offer the
first available prefix of any length.
first available prefix of any length.
This is the default behavior.
.PP
3. exact - The server will offer the first available prefix with the same
length as the requested length. If none are found, it will return a status
indicating no prefixes available.
This is the default behavior.
indicating no prefixes available.
.PP
4. minimum - The server will offer the first available prefix with the same
length as the requested length. If none are found, it will return the first
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment