diff options
author | Andreas Schneider <asn@samba.org> | 2017-03-20 11:25:40 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2017-04-06 09:18:03 +0200 |
commit | 502ab86d4863802ef183cedbbf3283bf4bc07ab9 (patch) | |
tree | 10285eae16b9652bfab7d061f5f4b064a6b325d0 /src | |
parent | 7ca7d61c07d9dc884f06d2c77879694deac77b90 (diff) | |
download | socket_wrapper-502ab86d4863802ef183cedbbf3283bf4bc07ab9.tar.gz socket_wrapper-502ab86d4863802ef183cedbbf3283bf4bc07ab9.tar.xz socket_wrapper-502ab86d4863802ef183cedbbf3283bf4bc07ab9.zip |
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 <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/socket_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |