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
Sebastian Schrader
Kea
Commits
ca6c71ff
Commit
ca6c71ff
authored
Oct 13, 2014
by
Marcin Siodelski
Browse files
[3367] Removed excessive call to setCiaddr in DHCPv4 server.
parent
cc48ac84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/dhcp4_srv.cc
View file @
ca6c71ff
...
...
@@ -504,7 +504,6 @@ void
Dhcpv4Srv
::
copyDefaultFields
(
const
Pkt4Ptr
&
question
,
Pkt4Ptr
&
answer
)
{
answer
->
setIface
(
question
->
getIface
());
answer
->
setIndex
(
question
->
getIndex
());
answer
->
setCiaddr
(
question
->
getCiaddr
());
answer
->
setSiaddr
(
IOAddress
(
"0.0.0.0"
));
// explicitly set this to 0
// ciaddr is always 0, except for the Renew/Rebind state when it may
...
...
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