COPY_FIELD(tls_required);
#endif
- FR_STRUCT_MEMBER_SIGN(c, secret, talloc_array_length(c->secret));
- FR_STRUCT_SIGN(c);
-
return c;
/*
*/
radclient->dynamic = true;
radclient->active = true;
- FR_STRUCT_SIGN(radclient);
/*
* address->client points to a "static" client. We want
* that define a dynamic client.
*/
radclient->active = false;
- FR_STRUCT_SIGN(radclient);
break;
case PR_CLIENT_STATIC:
*/
MEM(radclient = radclient_clone(inst, radclient));
radclient->active = true;
- FR_STRUCT_SIGN(radclient);
} else if (inst->dynamic_clients) {
if (inst->max_clients && (inst->num_clients >= inst->max_clients)) {
* Track this packet and return it if necessary.
*/
if (connection || !client->use_connected) {
- FR_STRUCT_MEMBER_VERIFY(client->radclient, secret, talloc_array_length(client->radclient->secret));
- FR_STRUCT_VERIFY(client->radclient);
/*
* Add the packet to the tracking table, if it's
radclient->server_cs = inst->server_cs;
radclient->server = cf_section_name2(inst->server_cs);
radclient->cs = NULL;
- FR_STRUCT_MEMBER_SIGN(radclient, secret, talloc_array_length(radclient->secret));
- FR_STRUCT_SIGN(radclient);
/*
* This is a connected socket, and it's just been
client->state = PR_CLIENT_CONNECTED;
radclient->active = true;
- FR_STRUCT_SIGN(radclient);
/*
* Connections can't spawn new connections.
*/
client->state = PR_CLIENT_DYNAMIC;
client->radclient->active = true;
- FR_STRUCT_SIGN(radclient);
}
/*
*/
(void) talloc_steal(clients, client); /* reparent it */
- FR_STRUCT_MEMBER_SIGN(client, secret, talloc_array_length(client->secret));
- FR_STRUCT_SIGN(client);
-
return true;
}
fr_ipaddr_mask(&my_client.ipaddr, i);
client = rbtree_finddata(clients->tree[i], &my_client);
if (client) {
- FR_STRUCT_MEMBER_VERIFY(client, secret, talloc_array_length(client->secret));
- FR_STRUCT_VERIFY(client);
return client;
}
}