BIND 10 master, updated. ea8e70a330e7930e3be85fcb6fe6ac7ca44fc643 [master] Initialize all members of the structure describing DHCP option.

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Dec 17 20:40:03 UTC 2012


The branch, master has been updated
       via  ea8e70a330e7930e3be85fcb6fe6ac7ca44fc643 (commit)
      from  66c563e695df604afe0edab5d52b7fd4f2a871dd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ea8e70a330e7930e3be85fcb6fe6ac7ca44fc643
Author: Marcin Siodelski <marcin at isc.org>
Date:   Mon Dec 17 21:20:48 2012 +0100

    [master] Initialize all members of the structure describing DHCP option.
    
    When building with GCC on Solaris it is required that all memebers of the
    struct are explicitly initialized. For a few entries, in the array
    describing DHCPv4 options, the the initializers were accidentally ommitted
    causing a build to fail. Okayed on jabber.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dhcp/std_option_defs.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/std_option_defs.h b/src/lib/dhcp/std_option_defs.h
index 048be6a..144df8b 100644
--- a/src/lib/dhcp/std_option_defs.h
+++ b/src/lib/dhcp/std_option_defs.h
@@ -69,12 +69,12 @@ const OptionDefParams OPTION_DEF_PARAMS4[] = {
     { "routers", DHO_ROUTERS, OPT_IPV4_ADDRESS_TYPE, true, NO_RECORD_DEF },
     { "time-servers", DHO_TIME_SERVERS, OPT_IPV4_ADDRESS_TYPE, true, NO_RECORD_DEF },
     { "name-servers", DHO_NAME_SERVERS, OPT_IPV4_ADDRESS_TYPE,
-      false },
+      false, NO_RECORD_DEF },
     { "domain-name-servers", DHO_DOMAIN_NAME_SERVERS,
       OPT_IPV4_ADDRESS_TYPE, true, NO_RECORD_DEF },
     { "log-servers", DHO_LOG_SERVERS, OPT_IPV4_ADDRESS_TYPE, true, NO_RECORD_DEF },
     { "cookie-servers", DHO_COOKIE_SERVERS, OPT_IPV4_ADDRESS_TYPE,
-      true },
+      true, NO_RECORD_DEF },
     { "lpr-servers", DHO_LPR_SERVERS, OPT_IPV4_ADDRESS_TYPE, true, NO_RECORD_DEF },
     { "impress-servers", DHO_IMPRESS_SERVERS, OPT_IPV4_ADDRESS_TYPE, true, NO_RECORD_DEF },
     { "resource-location-servers", DHO_RESOURCE_LOCATION_SERVERS,
@@ -86,7 +86,7 @@ const OptionDefParams OPTION_DEF_PARAMS4[] = {
     { "swap-server", DHO_SWAP_SERVER, OPT_IPV4_ADDRESS_TYPE, false, NO_RECORD_DEF },
     { "root-path", DHO_ROOT_PATH, OPT_STRING_TYPE, false, NO_RECORD_DEF },
     { "extensions-path", DHO_EXTENSIONS_PATH, OPT_STRING_TYPE,
-      false },
+      false, NO_RECORD_DEF },
     { "ip-forwarding", DHO_IP_FORWARDING, OPT_BOOLEAN_TYPE, false, NO_RECORD_DEF },
     { "non-local-source-routing", DHO_NON_LOCAL_SOURCE_ROUTING,
       OPT_BOOLEAN_TYPE, false, NO_RECORD_DEF },
@@ -185,7 +185,7 @@ const OptionDefParams OPTION_DEF_PARAMS4[] = {
     { "vivco-suboptions", DHO_VIVCO_SUBOPTIONS,
       OPT_BINARY_TYPE, false, NO_RECORD_DEF },
     { "vivso-suboptions", DHO_VIVSO_SUBOPTIONS, OPT_BINARY_TYPE,
-      false }
+      false, NO_RECORD_DEF }
 
         // @todo add definitions for all remaning options.
 };



More information about the bind10-changes mailing list