(do_request): tell krb5_kdc_process_request if its a datagram reply or not
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18386 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -439,11 +439,13 @@ do_request(krb5_context context,
|
|||||||
{
|
{
|
||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
krb5_data reply;
|
krb5_data reply;
|
||||||
|
int datagram_reply = (d->type == SOCK_DGRAM);
|
||||||
|
|
||||||
krb5_data_zero(&reply);
|
krb5_data_zero(&reply);
|
||||||
ret = krb5_kdc_process_generic_request(context, config,
|
ret = krb5_kdc_process_request(context, config,
|
||||||
buf, len, &reply, &prependlength,
|
buf, len, &reply, &prependlength,
|
||||||
d->addr_string, d->sa);
|
d->addr_string, d->sa,
|
||||||
|
datagram_reply);
|
||||||
if(reply.length){
|
if(reply.length){
|
||||||
send_reply(context, config, prependlength, d, &reply);
|
send_reply(context, config, prependlength, d, &reply);
|
||||||
krb5_data_free(&reply);
|
krb5_data_free(&reply);
|
||||||
|
Reference in New Issue
Block a user