CVS update: samba/source/nmbd

tridge at samba.anu.edu.au tridge at samba.anu.edu.au
Mon Aug 31 16:59:23 EST 1998


Date:	Monday August 31, 1998 @ 16:59
Author:	tridge

Update of /data/cvs/samba/source/nmbd
In directory samba:/tmp/cvs-serv19356

Modified Files:
	nmbd.c nmbd_browsesync.c 
Log Message:
I realised that my DMB<->DMB sync code has the property that the
amount of network traffic grows as the square of the number of
workgroups. It probably wouldn't have caused problems but to be safe I
changed the code to use random() to decrease the probability of a
DMB<->DMB sync in proportion to the number of known workgroups. This
keeps the nice browse connectivity while making the traffic rise only
linearly with the number of workgroups.




More information about the samba-cvs mailing list