From b7fe40b11bc0e7cf7ffd0bc0daff3fec7aac5a10 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Fri, 28 Jun 2019 12:21:23 +0200 Subject: [PATCH] [704-forensic-log-hook-paths-are-incorrect] Fixed forensic/legal paths --- doc/guide/hooks.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guide/hooks.xml b/doc/guide/hooks.xml index 3fcb2f5d91..52e026106b 100644 --- a/doc/guide/hooks.xml +++ b/doc/guide/hooks.xml @@ -1027,7 +1027,7 @@ Examples: To use this functionality the hook library must be included in the configuration of the desired DHCP server modules. The legal_log library is installed alongside the Kea libraries in - [kea-install-dir]/lib where + [kea-install-dir]/var/lib/kea where kea-install-dir is determined by the "--prefix" option of the configure script. It defaults to /usr/local. Assuming the @@ -1037,7 +1037,7 @@ Examples: "Dhcp4": { "hooks-libraries": [ { - "library": "/usr/local/lib/libdhcp_legal_log.so", + "library": "/usr/local/lib/kea/hooks/libdhcp_legal_log.so", "parameters": { "path": "/var/lib/kea/log", "base-name": "kea-forensic4" @@ -1054,7 +1054,7 @@ Examples: "Dhcp6": { "hooks-libraries": [ { - "library": "/usr/local/lib/libdhcp_legal_log.so", + "library": "/usr/local/lib/kea/hooks/libdhcp_legal_log.so", "parameters": { "path": "/var/lib/kea/log", "base-name": "kea-forensic6" @@ -1071,7 +1071,7 @@ Examples: path - the directory in which the forensic file(s) will be written. The default value is - [prefix]/kea/var. The directory must exist. + [prefix]/var/lib/kea. The directory must exist. base-name - an arbitrary value which is used in conjunction with -- 2.47.2