]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5584] Minor changes after review.
authorTomek Mrugalski <tomasz@isc.org>
Fri, 6 Jul 2018 14:37:39 +0000 (16:37 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 6 Jul 2018 14:37:39 +0000 (16:37 +0200)
doc/guide/hooks.xml
src/share/database/scripts/cql/dhcpdb_create.cql
src/share/database/scripts/cql/upgrade_2.0_to_3.0.sh.in
src/share/database/scripts/mysql/dhcpdb_create.mysql
src/share/database/scripts/mysql/upgrade_6.0_to_6.1.sh.in
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
src/share/database/scripts/pgsql/upgrade_4.0_to_4.1.sh.in

index 85532eaa3b4564916dec11bed227991afb5898c6..dd47a3683c756afc59a8c522924727b4fae5d523 100644 (file)
@@ -475,8 +475,7 @@ $ <userinput>ls -l /usr/local/lib/hooks/*.so</userinput>
               errors, like adding a lease with subnet-id that does not exist in
               the configuration or configuring a lease to use an address that is
               outside of the subnet to which it is supposed to belong.
-              It provides a not programmatic way to manage user contexts
-              associated to leases.
+              It provides a way to manage user contexts associated with leases.
               </entry>
             </row>
 
index e2efacbf5b908c406cd87f941122d29fce6d74e8..3e172c1171fd50dbb4cb4b67947cc033e3d3e7f4 100644 (file)
@@ -281,7 +281,7 @@ ALTER TABLE lease4 ADD user_context text;
 ALTER TABLE lease6 ADD user_context text;
 
 -- -----------------------------------------------------
--- Table `logs`
+-- Table `logs` (logs table is used by forensic logging hook library)
 -- -----------------------------------------------------
 CREATE TABLE IF NOT EXISTS logs (
     timeuuid timeuuid,  -- creation timeuuid, use dateOf() to get timestamp
index 96956adf6f8049fe73af589fb19df115d6bb3286..41464c7a37601398a0fa9b0d28a4c650929d53ca 100644 (file)
@@ -24,7 +24,7 @@ ALTER TABLE lease4 ADD user_context text;
 ALTER TABLE lease6 ADD user_context text;
 
 -- -----------------------------------------------------
--- Table \`logs\`
+-- Table logs (it is used by forensic logging hook library)
 -- -----------------------------------------------------
 CREATE TABLE IF NOT EXISTS logs (
     timeuuid timeuuid,  -- creation timeuuid, use dateOf() to get timestamp
index 022aadb48faab8740c8c1186715aa48b1a380669..054dc23c032e47563c040de146db9493a8c8dd98 100644 (file)
@@ -752,7 +752,7 @@ ORDER BY l.address;
 END $$
 DELIMITER ;
 
-# Create logs table
+# Create logs table (logs table is used by forensic logging hook library)
 CREATE TABLE logs (
     timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,  # creation timestamp
     address VARCHAR(43) NULL,                       # address or prefix
index fea2d8cb2798b4881aabf213b239fb97858be382..179c29b4b863c3409fb74d4321c02acd5b88a56a 100644 (file)
@@ -92,7 +92,7 @@ ORDER BY l.address;
 END $$
 DELIMITER ;
 
-# Create logs table
+# Create logs table (logs table is used by forensic logging hook library)
 CREATE TABLE logs (
     timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,  # creation timestamp
     address VARCHAR(43) NULL,                       # address or prefix
index af5fb01511b1e096cf38d97824d16b69ff6e46b6..b3445b7fb4e0e40f0c215ca29182a041765fbc3a 100644 (file)
@@ -854,7 +854,7 @@ CREATE FUNCTION lease6DumpData() RETURNS
 $$ LANGUAGE SQL;
 --
 
--- Create logs table
+-- Create logs table (logs table is used by forensic logging hook library)
 CREATE TABLE logs (
     timestamp TIMESTAMP WITH TIME ZONE
     DEFAULT CURRENT_TIMESTAMP,          -- creation timestamp
index 6d0b2fbf35db8d8736ea525d11e851d04e7a2b8d..0360b3ef69b0e8d0fe389f02895b18a619759d98 100644 (file)
@@ -121,7 +121,7 @@ CREATE FUNCTION lease6DumpData() RETURNS
 \$\$ LANGUAGE SQL;
 --
 
--- Create logs table
+-- Create logs table (logs table is used by forensic logging hook library)
 CREATE TABLE logs (
     timestamp TIMESTAMP WITH TIME ZONE
     DEFAULT CURRENT_TIMESTAMP,          -- creation timestamp