]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Pass correct parameters to fr_log (#3994)
authorNick Porter <nick@portercomputing.co.uk>
Thu, 18 Mar 2021 09:52:02 +0000 (09:52 +0000)
committerGitHub <noreply@github.com>
Thu, 18 Mar 2021 09:52:02 +0000 (09:52 +0000)
src/lib/util/log.c

index 87fbd48d79d682665777c4cc24ff432c6f45aa1c..6ca8128aa30fadbb3fd82e1d04591fe75901a8f9 100644 (file)
@@ -878,7 +878,7 @@ void fr_log_fd_event(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void
                                break;
                        }
 
-                       fr_log(log_info->dst, log_info->lvl,
+                       fr_log(log_info->dst, log_info->type,
                               __FILE__, __LINE__,
                               "%s%s%pV",
                               log_info->prefix ? log_info->prefix : "",