From: Alan T. DeKok Date: Fri, 26 Jan 2018 14:07:23 +0000 (-0500) Subject: if we found an entry in the tree, don't re-insert it... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b869aea96397eb91b74631233acfbd043e3467d4;p=thirdparty%2Ffreeradius-server.git if we found an entry in the tree, don't re-insert it... --- diff --git a/src/modules/proto_radius/track.c b/src/modules/proto_radius/track.c index e9db81d1fb6..be13a4f616d 100644 --- a/src/modules/proto_radius/track.c +++ b/src/modules/proto_radius/track.c @@ -264,8 +264,6 @@ fr_tracking_status_t fr_radius_tracking_entry_insert(fr_tracking_entry_t **p_ent memcpy(&entry->data[0], packet, sizeof(entry->data)); *p_entry = entry; - rbtree_insert(ft->tree, entry); - return FR_TRACKING_UPDATED; }