From: Alan T. DeKok Date: Fri, 19 Mar 2021 12:37:14 +0000 (-0400) Subject: start modules at 1, not 0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=800c998ff0bbe159ce0d92027631140ba7e4e943;p=thirdparty%2Ffreeradius-server.git start modules at 1, not 0 so that when we create fake modules for virtual s --- diff --git a/src/lib/server/module.c b/src/lib/server/module.c index 5f6a68c0c48..f548211bfa4 100644 --- a/src/lib/server/module.c +++ b/src/lib/server/module.c @@ -37,7 +37,7 @@ RCSID("$Id$") #include static TALLOC_CTX *instance_ctx = NULL; -static size_t instance_num = 0; +static size_t instance_num = 1; /* * For simplicity, this is just array[instance_num]. Once we