Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
daf2abe6
Commit
daf2abe6
authored
Feb 11, 2013
by
Tomek Mrugalski
🛰
Browse files
[2702] Fix for DHCPv4 client renewals (without client-id)
parent
7782afce
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
daf2abe6
5XX. [func] marcin,tomek
b10-dhcp4: Address renewal now works properly for DHCPv4 clients
that do not send client-ids.
(Trac #2702, git TBD)
568. [func] muks
Various message IDs have been renamed to remove the word 'ERROR'
from them when they are not logged at ERROR severity level.
...
...
src/lib/dhcpsrv/alloc_engine.cc
View file @
daf2abe6
...
...
@@ -274,7 +274,7 @@ AllocEngine::allocateAddress4(const SubnetPtr& subnet,
}
// Check if there's existing lease for that subnet/clientid/hwaddr combination.
Lease4Ptr
existing
=
LeaseMgrFactory
::
instance
().
getLease4
(
hwaddr
->
hwaddr
_
,
subnet
->
getID
());
Lease4Ptr
existing
=
LeaseMgrFactory
::
instance
().
getLease4
(
*
hwaddr
,
subnet
->
getID
());
if
(
existing
)
{
// We have a lease already. This is a returning client, probably after
// its reboot.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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