]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
minor changes
authorRazvan Becheriu <razvan.becheriu@qualitance.com>
Wed, 14 Feb 2018 17:45:23 +0000 (19:45 +0200)
committerRazvan Becheriu <razvan.becheriu@qualitance.com>
Wed, 14 Feb 2018 17:45:23 +0000 (19:45 +0200)
src/lib/dhcpsrv/mysql_host_data_source.cc
src/share/database/scripts/cql/dhcpdb_create.cql
src/share/database/scripts/cql/upgrade_1.0_to_2.0.sh.in

index e73c887ad96f2bc2454e57bcdf3f0ce05453de70..1c72afd741b634212297ebef5a2802714bdbce75 100644 (file)
@@ -2716,7 +2716,7 @@ ConstHostCollection
 MySqlHostDataSource::getAll(const HWAddrPtr& hwaddr,
                             const DuidPtr& duid) const {
 
-    if (duid){
+    if (duid) {
         return (getAll(Host::IDENT_DUID, &duid->getDuid()[0],
                        duid->getDuid().size()));
 
index 44ece49f93db4fe9486bff8cf0487bb03faf85a8..9649d28c2537d34ff50e31ab4ddb279bc8629dcf 100644 (file)
@@ -236,9 +236,9 @@ CREATE INDEX IF NOT EXISTS host_reservationsindex5 ON host_reservations (host_ip
 CREATE INDEX IF NOT EXISTS host_reservationsindex6 ON host_reservations (reserved_ipv6_prefix_address);
 CREATE INDEX IF NOT EXISTS host_reservationsindex7 ON host_reservations (reserved_ipv6_prefix_length);
 
---
--- Table structure for table host_identifier_type.
---
+-- -----------------------------------------------------
+-- Table `host_identifier_type`
+-- -----------------------------------------------------
 
 CREATE TABLE IF NOT EXISTS host_identifier_type (
     type int,
@@ -253,9 +253,9 @@ INSERT INTO host_identifier_type (type, name) VALUES (2, 'circuit-id');
 INSERT INTO host_identifier_type (type, name) VALUES (3, 'client-id');
 INSERT INTO host_identifier_type (type, name) VALUES (4, 'flex-id');
 
---
--- Table structure for table dhcp_option_scope.
---
+-- -----------------------------------------------------
+-- Table `dhcp_option_scope`
+-- -----------------------------------------------------
 
 CREATE TABLE IF NOT EXISTS dhcp_option_scope (
   scope_id int,
index dce0167bdccb18dff94eb12ac7884993dfdaa90c..56356163835bcd9c621fb3edcca1f21d7c6498c2 100644 (file)
@@ -63,9 +63,9 @@ CREATE INDEX IF NOT EXISTS host_reservationsindex5 ON host_reservations (host_ip
 CREATE INDEX IF NOT EXISTS host_reservationsindex6 ON host_reservations (reserved_ipv6_prefix_address);
 CREATE INDEX IF NOT EXISTS host_reservationsindex7 ON host_reservations (reserved_ipv6_prefix_length);
 
---
--- Table structure for table host_identifier_type.
---
+-- -----------------------------------------------------
+-- Table \`host_identifier_type\`
+-- -----------------------------------------------------
 
 CREATE TABLE IF NOT EXISTS host_identifier_type (
     type int,
@@ -80,9 +80,9 @@ INSERT INTO host_identifier_type (type, name) VALUES (2, 'circuit-id');
 INSERT INTO host_identifier_type (type, name) VALUES (3, 'client-id');
 INSERT INTO host_identifier_type (type, name) VALUES (4, 'flex-id');
 
---
--- Table structure for table dhcp_option_scope.
---
+-- -----------------------------------------------------
+-- Table \`dhcp_option_scope\`
+-- -----------------------------------------------------
 
 CREATE TABLE IF NOT EXISTS dhcp_option_scope (
   scope_id int,