]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
mark client as active
authorAlan T. DeKok <aland@freeradius.org>
Wed, 15 Mar 2023 13:20:11 +0000 (09:20 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 15 Mar 2023 17:49:10 +0000 (13:49 -0400)
src/listen/bfd/proto_bfd.c

index c014bdb1b3e0bd974c7e5fb96cdb9565c89d3c79..7bf264d2d2c14a09c72bff74462953157862a155 100644 (file)
@@ -547,6 +547,8 @@ static int mod_bootstrap(module_inst_ctx_t const *mctx)
 
                        }
 
+                       c->active = true;
+
                        if (!fr_rb_insert(inst->peers, c)) {
                                cf_log_err(cs, "Failed to add peer %s", cf_section_name2(cs));
                                goto error;