CVS update: samba/source/libsmb

crh at samba.org crh at samba.org
Mon Apr 22 13:09:24 EST 2002


Date:	Sun Apr 21 20:09:23 2002
Author:	crh

Update of /data/cvs/samba/source/libsmb
In directory va:/tmp/cvs-serv21123

Modified Files:
      Tag: SAMBA_3_0
	nmblib.c 
Log Message:
Copying commit from HEAD.

My seven-year-old daughter calls me 'Captain Pedantic'.  I don't know which
is freakier... the name or the fact that a seven-year-old knows what it 
means.  

Small change to correct the value we place in the DGM_LENGTH field of 
NBT Datagram messages.  We have been counting the full datagram, but it's
fairly clear in the RFCs that we should only count the source name, 
destination name, and payload.  We've been overcharging by 14 bytes
(the size of the NBT DGM header).

This fix brings us in line with what Windows does, and what the RFCs 
say should be done.  I'm a little surprised that this didn't cause any
bugs or error messages.  I guess no one actually checks this field.


Revisions:
nmblib.c		1.68 => 1.68.2.1
	http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/nmblib.c?r1=1.68&r2=1.68.2.1




More information about the samba-cvs mailing list