From edf96b939a3cec7cde78ae355d59ff46cb37f044 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Tue, 21 Feb 2017 16:44:09 +0100 Subject: [PATCH] Double Chaos/IP mappings since we're hoping for more hosts in the future. --- src/dpchudp.h | 2 +- src/dvch11.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dpchudp.h b/src/dpchudp.h index d39646a..9a73575 100644 --- a/src/dpchudp.h +++ b/src/dpchudp.h @@ -29,7 +29,7 @@ #define DPCHUDP_VERSION ((1<<10) | (0<<5) | (0)) /* 1.0.0 */ #ifndef DPCHUDP_CHIP_MAX -# define DPCHUDP_CHIP_MAX 10 +# define DPCHUDP_CHIP_MAX 20 #endif /* If a dynamically added CHIP entry is older than this (seconds), it can get updated */ diff --git a/src/dvch11.c b/src/dvch11.c index ccea801..fbaf175 100644 --- a/src/dvch11.c +++ b/src/dvch11.c @@ -73,7 +73,7 @@ static int decosfcclossage; #endif #ifndef CH11_CHIP_MAX -# define CH11_CHIP_MAX 10 /* max Chaos/IP mappings - see DPCHUDP_CHIP_MAX */ +# define CH11_CHIP_MAX 20 /* max Chaos/IP mappings - see DPCHUDP_CHIP_MAX */ #endif #if CH11_CHIP_MAX > DPCHUDP_CHIP_MAX