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 | 988c73b623eb5ff4657ec8ef88c629a08c4f6ddb (patch) | |
tree | 0470b6d4b583ca037cf2b177c92821672046eeb9 /source3 | |
parent | 59759f0ebbf49aec1ee5c91e10223ca41a927d99 (diff) | |
download | samba-988c73b623eb5ff4657ec8ef88c629a08c4f6ddb.tar.gz samba-988c73b623eb5ff4657ec8ef88c629a08c4f6ddb.tar.bz2 samba-988c73b623eb5ff4657ec8ef88c629a08c4f6ddb.zip |
don't send any statistics in the node status reply
(This used to be commit a5f52340a49bb2c4f2cdfa7b3c8b45cc5b0e9ec6)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nameservreply.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/nameservreply.c b/source3/nameservreply.c index 98247c7636..c901059f9b 100644 --- a/source3/nameservreply.c +++ b/source3/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; |