git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4f6ec8
)
don't send any statistics in the node status reply
author
Andrew Tridgell
<tridge@samba.org>
Wed, 22 Oct 1997 03:16:35 +0000
(
03:16
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 22 Oct 1997 03:16:35 +0000
(
03:16
+0000)
source/nameservreply.c
patch
|
blob
|
history
diff --git
a/source/nameservreply.c
b/source/nameservreply.c
index 98247c76366fa98b4b91398c23ad5d43da69c2b3..c901059f9b64664d6e38b5991ffeb508be2fa099 100644
(file)
--- 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;