diff options
author | Christopher R. Hertel <crh@samba.org> | 2002-04-22 03:09:23 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 2002-04-22 03:09:23 +0000 |
commit | 6f366b7809375e4d7b061278a739ce541d291a97 (patch) | |
tree | ce042248d758d9327dc327fc71894cf627258f1d /source3/CodingSuggestions | |
parent | 61fec246b6afa9d8c2ee541cc6eaabc0e3275621 (diff) | |
download | samba-6f366b7809375e4d7b061278a739ce541d291a97.tar.gz samba-6f366b7809375e4d7b061278a739ce541d291a97.tar.bz2 samba-6f366b7809375e4d7b061278a739ce541d291a97.zip |
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.
(This used to be commit c06a2ece7545a9d9f8cde04745b603f7d6c6a716)
Diffstat (limited to 'source3/CodingSuggestions')
0 files changed, 0 insertions, 0 deletions