From: Alan T. DeKok Date: Tue, 13 Feb 2024 17:58:11 +0000 (-0500) Subject: set the bio type X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c98a64c90a35b5c5e2f3a094d0ac584de14df715;p=thirdparty%2Ffreeradius-server.git set the bio type --- diff --git a/src/lib/bio/fd_open.c b/src/lib/bio/fd_open.c index f125c3a63ef..d021dccdf2f 100644 --- a/src/lib/bio/fd_open.c +++ b/src/lib/bio/fd_open.c @@ -827,6 +827,11 @@ int fr_bio_fd_open(fr_bio_t *bio, fr_bio_fd_config_t const *cfg) */ my->info.socket.fd = fd; + /* + * Set the type, too. + */ + my->info.type = cfg->type; + /* * Do sanity checks, bootstrap common socket options, bind to the socket, and initialize the read * / write functions.