- 13 Nov, 2012 2 commits
-
-
Stephen Morris authored
The message when the DHCPv6 database backend is started now includes both the type and the name of the database.
-
Stephen Morris authored
Parameters are hard-coded for the moment.
-
- 12 Nov, 2012 6 commits
-
-
Stephen Morris authored
-
Stephen Morris authored
-
Stephen Morris authored
-
Michal 'vorner' Vaner authored
This should fix compilation, where it complains: rrttl_unittest.cc:79: warning: this decimal constant is unsigned only in ISO C90
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- 11 Nov, 2012 1 commit
-
-
Stephen Morris authored
Conflicts: doc/devel/mainpage.dox src/lib/dhcp/Makefile.am src/lib/dhcp/lease_mgr.cc src/lib/dhcp/lease_mgr.h src/lib/dhcp/tests/Makefile.am src/lib/dhcp/tests/lease_mgr_unittest.cc A number of other files were modified to resolve incompatibilities in the way lease managers were created, and to promote the dummy "memfile" lease manager to a fully-fledged lease manager with unit tests.
-
- 10 Nov, 2012 1 commit
-
-
Michal 'vorner' Vaner authored
There was a gap when one thing could overflow to negative numbers.
-
- 09 Nov, 2012 10 commits
-
-
JINMEI Tatuya authored
-
Stephen Morris authored
-
Stephen Morris authored
-
Stephen Morris authored
-
Stephen Morris authored
-
Marcin Siodelski authored
-
Marcin Siodelski authored
Having duid.{h, cc} in libdhcp++ causes dependency between two libraries. Due to this dependency multi-threaded build fails because libs are created by different threads simultaneously and race condition occurs. Libraries should be moved to separate folders and have separate makefiles. This complies with BIND10 structure and will make this issue goe away.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Also, simplify the code little bit and make it run faster in the case of TTL without any units.
-
Michal 'vorner' Vaner authored
-
- 08 Nov, 2012 20 commits
-
-
JINMEI Tatuya authored
-
Stephen Morris authored
-
Stephen Morris authored
For some reason, on Solaris this causes types "uintXX_t" to become undefined. The "using" statement was removed and an explicit namespace prepended to declarations of shared_ptr and dynamic_pointer_cast.
-
Stephen Morris authored
The allocation engine is now pointed to by a shared pointer. Previously it was pointed toi by a raw pointer and not deleted in the destructor. Also, use an automatic variable to hold the DHCP6 server in the unit tests.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
It doesn't need to check the number of digits. It seems the tests pass now without problems as well. Also, it might be problematic with large number of leading zeroes. Also, simplify comment with description.
-
JINMEI Tatuya authored
-
Jeremy C. Reed authored
From http://bind10.isc.org/ticket/2468#comment:2 to help troubleshoot later. Okayed via jabber.
-
Stephen Morris authored
a) Corrected some method headers b) Added additional diagnostic output should the test fail to open the database.
-
Stephen Morris authored
... to ensure that it is always called when a method terminates.
-
Stephen Morris authored
-
Jelte Jansen authored
-
JINMEI Tatuya authored
and suggest checking output from msgq using -v.
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
previously it could result in exception (by the attempt of killing sockcreator as a chuser'ed process) during initial setup failure, leading to unclean shutdown. the revised code prevents it from happening, and also makes the code concise by unifying the common logic.
-
JINMEI Tatuya authored
so, it now just prints some hints to stderr and exits.
-
JINMEI Tatuya authored
it even suggests restarting as a root.
-
JINMEI Tatuya authored
it now includes textual representation of errno, and, if it's EACCES ("permission denied") the messsage suggesting restarting as a super user.
-