diff --git a/src/seqmap.c b/src/seqmap.c index 2e6c030..e64cbd2 100644 --- a/src/seqmap.c +++ b/src/seqmap.c @@ -44,7 +44,7 @@ /* description of the data structure used: * - * - we assume that no more than SEQMAP_MAXSEQ (65000) pings are sent in + * - we assume that no more than SEQMAP_MAXSEQ (65535) pings are sent in * the timeout interval (SEQMAP_TIMEOUT_IN_S) * - we store the values in an array with SEQMAP_MAXSEQ elements * - current sequence number % SEQMAP_MAXSEQ gives the current index diff --git a/src/seqmap.h b/src/seqmap.h index f85050d..cafde4d 100644 --- a/src/seqmap.h +++ b/src/seqmap.h @@ -11,7 +11,7 @@ typedef struct seqmap_value } SEQMAP_VALUE; -#define SEQMAP_MAXSEQ 65000 +#define SEQMAP_MAXSEQ 65535 void seqmap_init(); unsigned int seqmap_add(unsigned int host_nr, unsigned int ping_count, struct timeval *now);