diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-10-22 03:16:35 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-10-22 03:16:35 +0000 |
commit | a5f52340a49bb2c4f2cdfa7b3c8b45cc5b0e9ec6 (patch) | |
tree | c72fe2051319dcf3f66ef0266b73ccf5cb0f8f25 /source | |
parent | e4f6ec8c0e2c1ea055cdc811b19feccbc808fd0b (diff) | |
download | samba-a5f52340a49bb2c4f2cdfa7b3c8b45cc5b0e9ec6.tar.gz |
don't send any statistics in the node status reply
Diffstat (limited to 'source')
-rw-r--r-- | source/nameservreply.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/nameservreply.c b/source/nameservreply.c index 98247c76366..c901059f9b6 100644 --- a/source/nameservreply.c +++ b/source/nameservreply.c @@ -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; |