From: Alan T. DeKok Date: Wed, 19 Sep 2018 15:48:17 +0000 (-0400) Subject: our own listen->app is always ourselves X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a0c8af94b67b00a39bc797ce740d19a549bd294;p=thirdparty%2Ffreeradius-server.git our own listen->app is always ourselves --- diff --git a/src/lib/io/master.c b/src/lib/io/master.c index 0697a82d9c3..87f0c86113f 100644 --- a/src/lib/io/master.c +++ b/src/lib/io/master.c @@ -554,7 +554,7 @@ static fr_io_connection_t *fr_io_connection_alloc(fr_io_instance_t *inst, fr_io_ /* * Glue in the connection to the listener. */ - listen->app_io = &fr_master_app_io; + rad_assert(listen->app_io == &fr_master_app_io); listen->app_io_instance = connection; connection->app_io_instance = dl_inst->data;