
4.5 Server Implementation 397
Build Options for Response
Listing 4-90
dhcp6s.c
1131 /*
1132 * configure necessary options based on the options in solicit.
1133 */
1134 dhcp6_init_options(&roptinfo);
1135
1136 /* process authentication */
1137 if (process_auth(dh6, len, client_conf, optinfo, &roptinfo)) {
1138 dprintf(LOG_INFO, FNAME, "failed to process authentication "
1139 "information for %s",
1140 clientstr(client_conf, &optinfo->clientID));
1141 goto fail;
1142 }
1143
1144 /* server identifier option */
1145 if (duidcpy(&roptinfo.serverID, &server_duid)) {
1146 dprintf(LOG_ERR, FNAME, "failed to copy server ID");
1147 goto fail;
1148 }
1149
1150 /* copy client ...