Pass client address to as_rep() and tgs_rep().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4969 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -245,11 +245,11 @@ process_request(unsigned char *buf,
|
||||
|
||||
gettimeofday(&now, NULL);
|
||||
if(decode_AS_REQ(buf, len, &req, &i) == 0){
|
||||
ret = as_rep(&req, reply, from);
|
||||
ret = as_rep(&req, reply, from, addr);
|
||||
free_AS_REQ(&req);
|
||||
return ret;
|
||||
}else if(decode_TGS_REQ(buf, len, &req, &i) == 0){
|
||||
ret = tgs_rep(&req, reply, from);
|
||||
ret = tgs_rep(&req, reply, from, addr);
|
||||
free_TGS_REQ(&req);
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user