Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
4b226d86
Commit
4b226d86
authored
Dec 13, 2011
by
Tomek Mrugalski
🛰
Browse files
[1237] Compilation fix
Note: this fix is also present on other branches.
parent
697a0229
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/dhcp4_srv.cc
View file @
4b226d86
...
...
@@ -31,6 +31,9 @@ Dhcpv4Srv::Dhcpv4Srv(uint16_t port) {
IfaceMgr
::
instance
();
/// @todo: instantiate LeaseMgr here once it is imlpemented.
IfaceMgr
::
instance
().
printIfaces
();
IfaceMgr
::
instance
().
openSockets4
(
port
);
setServerID
();
...
...
src/bin/dhcp6/dhcp6_srv.cc
View file @
4b226d86
...
...
@@ -25,7 +25,7 @@ using namespace isc;
using
namespace
isc
::
dhcp
;
using
namespace
isc
::
asiolink
;
Dhcpv6Srv
::
Dhcpv6Srv
()
{
Dhcpv6Srv
::
Dhcpv6Srv
(
uint16_t
port
)
{
cout
<<
"Initialization"
<<
endl
;
// first call to instance() will create IfaceMgr (it's a singleton)
...
...
@@ -42,6 +42,9 @@ Dhcpv6Srv::Dhcpv6Srv() {
shutdown
=
true
;
}
// Now try to open IPv6 sockets on detected interfaces.
IfaceMgr
::
instance
().
openSockets6
(
port
);
/// @todo: instantiate LeaseMgr here once it is imlpemented.
setServerID
();
...
...
src/bin/dhcp6/dhcp6_srv.h
View file @
4b226d86
...
...
@@ -41,7 +41,9 @@ public:
/// In particular, creates IfaceMgr that will be responsible for
/// network interaction. Will instantiate lease manager, and load
/// old or create new DUID.
Dhcpv6Srv
();
///
/// @param port port on will all sockets will listen
Dhcpv6Srv
(
uint16_t
port
=
DHCP6_SERVER_PORT
);
/// @brief Destructor. Used during DHCPv6 service shutdown.
~
Dhcpv6Srv
();
...
...
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