Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Adam Osuchowski
Kea
Commits
50e788cc
Commit
50e788cc
authored
Feb 27, 2015
by
Francis Dupont
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://git.kea.isc.org/git/kea
parents
f5b68759
c1f12fbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
ChangeLog
ChangeLog
+6
-0
src/lib/dhcpsrv/cfg_iface.cc
src/lib/dhcpsrv/cfg_iface.cc
+3
-3
No files found.
ChangeLog
View file @
50e788cc
902. [bug] marcin
Fixed the bug in the DHCPv4 server whereby the server
reconfiguration (using the SIGHUP signal) failed because
of sockets remaining open since the previous configuration.
(Trac #3730, git 3ceb0cd97cf5e44e8fc151d0a38db553530dd3ed)
Kea 0.9.1beta released on February 18, 2015
901. [bug] tomek
...
...
src/lib/dhcpsrv/cfg_iface.cc
View file @
50e788cc
...
...
@@ -58,6 +58,9 @@ CfgIface::multipleAddressesPerInterfaceActive() const {
void
CfgIface
::
openSockets
(
const
uint16_t
family
,
const
uint16_t
port
,
const
bool
use_bcast
)
const
{
// Close any open sockets because we're going to modify some properties
// of the IfaceMgr. Those modifications require that sockets are closed.
closeSockets
();
// If wildcard interface '*' was not specified, set all interfaces to
// inactive state. We will later enable them selectively using the
// interface names specified by the user. If wildcard interface was
...
...
@@ -127,9 +130,6 @@ CfgIface::openSockets(const uint16_t family, const uint16_t port,
}
}
// Before opening any sockets, close existing ones.
closeSockets
();
// Set the callback which is called when the socket fails to open
// for some specific interface. This callback will simply log a
// warning message.
...
...
Write
Preview
Markdown
is supported
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