
464 Chapter 4—DHCPv6
2904 }
2905 key = client_conf->delayedkey;
2906 dprintf(LOG_DEBUG, FNAME, "found key %s for client %s",
2907 key->name, clientstr(client_conf, &optinfo->clientID));
dhcp6s.c
2898–2907 If the server is configured with a shared secret for the client, that key is used to
authenticate the message. Otherwise, the message is regarded as unauthenticated.
The Solicit Case
Listing 4-164
dhcp6s.c
2909 if (msgtype == DH6_SOLICIT) {
2910 if (!(optinfo->authflags & DHCP6OPT_AUTHFLAG_NOINFO)) {
2911 /*
2912 * A solicit message should not contain
2913 * authentication information.
2914 */
2915 dprintf(LOG_INFO, FNAME,
2916 "authentication information "