///
/// @return Returns 0 upon success, non-zero upon failure.
int load(LibraryHandle&) {
- /// @todo The following log message includes a dummy parameter for us
- /// to check if parameters are logged properly. This parameter will have
- /// to be removed.
- int test_value = 123;
- LOG_INFO(user_chk_logger, USER_CHK_HOOK_LOAD)
- .arg(test_value);
-
// non-zero indicates an error.
int ret_val = 0;
try {
-# Copyright (C) 2013,2015 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2013 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
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-% USER_CHK_HOOK_LOAD load function called: %1
-This message is logged by the hook library on entry to the load function.
-
% USER_CHK_HOOK_LOAD_ERROR DHCP UserCheckHook could not be loaded: %1
This is an error message issued when the DHCP UserCheckHook could not be loaded.
The exact cause should be explained in the log message. User subnet selection