From: Tomek Mrugalski Date: Tue, 6 May 2014 19:07:57 +0000 (+0200) Subject: [3400] Skeleton for Bundy backend added. X-Git-Tag: trac3434_base~32^2~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecb53554d0bbb75dd4494f72183de91b90bd6299;p=thirdparty%2Fkea.git [3400] Skeleton for Bundy backend added. --- diff --git a/src/bin/dhcp6/tests/bundy_backend_unittest.cc b/src/bin/dhcp6/tests/bundy_backend_unittest.cc new file mode 100644 index 0000000000..f556560a14 --- /dev/null +++ b/src/bin/dhcp6/tests/bundy_backend_unittest.cc @@ -0,0 +1,26 @@ +// Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC") +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +// PERFORMANCE OF THIS SOFTWARE. + +#include + +#include + +namespace { + +// Bundy framework specific tests should be added here. +TEST(BundyBackendTest, dummy) { + +} + +} // End of anonymous namespace diff --git a/src/lib/dhcpsrv/daemon.cc b/src/lib/dhcpsrv/daemon.cc index 2c7d649460..df74ea4019 100644 --- a/src/lib/dhcpsrv/daemon.cc +++ b/src/lib/dhcpsrv/daemon.cc @@ -103,7 +103,7 @@ void Daemon::loggerInit(const char* log_name, bool verbose, bool ) { // @todo: Find out why this is needed. Without this, the logger doesn't // work. setenv("B10_LOCKFILE_DIR_FROM_BUILD", TOP_BUILDDIR, 1); - + // Initialize logging initLogger(log_name, severity, isc::log::MAX_DEBUG_LEVEL, NULL);