*** empty log message ***

This commit is contained in:
hsn 2005-03-17 21:26:56 +00:00
parent 0dd69aa29f
commit f9d0584988
3 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,8 @@
Version NEXT
removed test for size of penis in configure.ac
corrected misleading comment in client/lib.c
default packetsize changed to maximum 1500 mtu Ethernet
PROTOCOL: when computing checksum declare *t as unsigned char * type
Version 2.8.1b24 - 19 Feb 2005
use getopt from stdio.h instead of getopt.h in fspscan.c

View File

@ -124,6 +124,7 @@ Checksums in server->client direction are computed as follows:
/* assume that we have already zeroed checksum in packet */
unsigned int sum,checksum;
unsigned char *t;
for(t = packet_start, sum = 0; t < packet_end; sum += *t++);
checksum= sum + (sum >> 8);

View File

@ -54,7 +54,7 @@
#define UBUF_HSIZE 12 /* 12 bytes for the header */
#define UBUF_SPACE 1024 /* maximum standard payload. */
#define UBUF_MAXSPACE 4096 /* maximum payload supported by server */
#define DEFAULT_SPACE 1370 /* Default packet size */
#define DEFAULT_SPACE 1500-20-8-12 /* Max packet size for standard 1500 mtu ethernet */
#define NBSIZE (UBUF_MAXSPACE+UBUF_SPACE)