diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-06-10 15:59:38 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-06-10 15:59:38 +0000 |
commit | 3b0e6a29698c8580b9556332e678e5301e697959 (patch) | |
tree | 163cc6862f554e8d6188ed5a3641add5a806973b | |
parent | 64bdc502add53c7e579a68cd0d3806e8942ab67d (diff) |
increase the size of listening sockets if the port count increases
--HG--
extra : convert_revision : ca4ca78b82c5d430c69ce01bf794e8886ce81431
-rw-r--r-- | options.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -250,6 +250,9 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */ #define DROPBEAR_MAX_PORTS 10 /* max number of ports which can be specified, ipv4 and ipv6 don't count twice */ +/* Each port might have at least a v4 and a v6 address */ +#define MAX_LISTEN_ADDR (DROPBEAR_MAX_PORTS*3) + #define _PATH_TTY "/dev/tty" #define _PATH_CP "/bin/cp" @@ -300,7 +303,6 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */ #define MAX_PROPOSED_ALGO 20 /* size/count limits */ -#define MAX_LISTEN_ADDR 10 #define MAX_PACKET_LEN 35000 #define MIN_PACKET_LEN 16 |