Extraneous second lookup in host cache in the radius access callout when subnet is not reselected
In subnetX_select
callouts for libdhcp_radius.so
, there are two getXAny
lookups in the host cache. The second one has the purpose of fetching the host again with the new subnet ID. But this makes sense only if the subnet was reselected since the first retrieval as part of the subnet reselection process that is specific to RADIUS. However, it is called regardless of whether the subnet was reselected or not. This could be optimized.