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
6b65ea8a
Commit
6b65ea8a
authored
Jul 19, 2013
by
Marcin Siodelski
Browse files
[1555] Minor: added a todo comment.
parent
0d4abba2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/dhcp4_srv.cc
View file @
6b65ea8a
...
...
@@ -852,6 +852,8 @@ Dhcpv4Srv::openActiveSockets(const uint16_t port,
}
// Let's reopen active sockets. openSockets4 will check internally whether
// sockets are marked active or inactive.
// @todo Optimization: we should not reopen all sockets but rather select
// those that have been affected by the new configuration.
if
(
!
IfaceMgr
::
instance
().
openSockets4
(
port
,
use_bcast
))
{
LOG_WARN
(
dhcp4_logger
,
DHCP4_NO_SOCKETS_OPEN
);
}
...
...
src/bin/dhcp6/dhcp6_srv.cc
View file @
6b65ea8a
...
...
@@ -1133,6 +1133,8 @@ Dhcpv6Srv::openActiveSockets(const uint16_t port) {
}
// Let's reopen active sockets. openSockets6 will check internally whether
// sockets are marked active or inactive.
// @todo Optimization: we should not reopen all sockets but rather select
// those that have been affected by the new configuration.
if
(
!
IfaceMgr
::
instance
().
openSockets6
(
port
))
{
LOG_WARN
(
dhcp6_logger
,
DHCP6_NO_SOCKETS_OPEN
);
}
...
...
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