From 502ab86d4863802ef183cedbbf3283bf4bc07ab9 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 20 Mar 2017 11:25:40 +0100 Subject: swrap: Increase max wrapped interfaces We are hitting the limit of 40 interfaces with Samba. So increase it to 64. Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- src/socket_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index 1d94a89..608acf9 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -264,7 +264,7 @@ do { \ /* This limit is to avoid broadcast sendto() needing to stat too many * files. It may be raised (with a performance cost) to up to 254 * without changing the format above */ -#define MAX_WRAPPED_INTERFACES 40 +#define MAX_WRAPPED_INTERFACES 64 struct swrap_address { socklen_t sa_socklen; -- cgit