From: Alan T. DeKok Date: Sun, 6 Aug 2017 15:49:50 +0000 (+0200) Subject: update notes on todo's X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c45083e6222bf5f986d35d44c6eaee33c415d07c;p=thirdparty%2Ffreeradius-server.git update notes on todo's --- diff --git a/src/modules/rlm_radius/rlm_radius_udp.c b/src/modules/rlm_radius/rlm_radius_udp.c index 827ceb32141..4b063ed8a7e 100644 --- a/src/modules/rlm_radius/rlm_radius_udp.c +++ b/src/modules/rlm_radius/rlm_radius_udp.c @@ -703,7 +703,6 @@ static int conn_write(rlm_radius_udp_connection_t *c, rlm_radius_udp_request_t * } if (attr == end) { - // @todo - save ptr to attr attr[0] = FR_PROXY_STATE; attr[1] = 18; memset(attr + 2, 0, 16); @@ -1218,9 +1217,6 @@ static rlm_rcode_t mod_push(void *instance, REQUEST *request, rlm_radius_link_t /* * Clear the backlog before sending any new packets. - * - * @todo - only call mod_clear_backlog() if there are - * active connections. */ if (t->pending) mod_clear_backlog(t); @@ -1403,8 +1399,6 @@ static int mod_thread_instantiate(UNUSED CONF_SECTION const *cs, void *instance, t->active = fr_heap_create(conn_cmp, offsetof(rlm_radius_udp_connection_t, heap_id)); - // @todo - get parent, and initialize the list of IDs by code, from what is permitted by rlm_radius - mod_connection_alloc(t->inst, t); return 0;