mirror of
https://github.com/samba-team/samba.git
synced 2025-03-25 14:50:24 +03:00
don't send any statistics in the node status reply
(This used to be commit a5f52340a49bb2c4f2cdfa7b3c8b45cc5b0e9ec6)
This commit is contained in:
parent
59759f0ebb
commit
988c73b623
@ -468,13 +468,9 @@ void reply_name_status(struct packet_struct *p)
|
||||
|
||||
SCVAL(countptr,0,names_added);
|
||||
|
||||
/* XXXXXXX we should fill in more fields of the statistics structure */
|
||||
/* we don't send any stats as they could be used to attack
|
||||
the protocol */
|
||||
bzero(buf,64);
|
||||
{
|
||||
extern int num_good_sends,num_good_receives;
|
||||
SIVAL(buf,20,num_good_sends);
|
||||
SIVAL(buf,24,num_good_receives);
|
||||
}
|
||||
|
||||
buf += 46;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user