From: Philippe Wooding Date: Fri, 27 Oct 2017 09:15:56 +0000 (+0200) Subject: Bug fix to get radsniff working X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=805be3d160c03610c90bedfd5d4b5211bbf25945;p=thirdparty%2Ffreeradius-server.git Bug fix to get radsniff working --- diff --git a/src/lib/util/event.c b/src/lib/util/event.c index 060f163050b..84f9e46626b 100644 --- a/src/lib/util/event.c +++ b/src/lib/util/event.c @@ -545,9 +545,9 @@ static int fr_event_fd_type_set(fr_event_fd_t *ef, int fd) } else #endif { - ef->sock_type = sock_type; ef->type = FR_EVENT_FD_SOCKET; } + ef->sock_type = sock_type; /* * It's a file or directory