/* If the caller has registered a client discovery callback, this allow him to receive the full content of the discovery log through this callback (as normally he will receive only new discoveries).  */
void irlmp_discovery_request(int nslots)
/* If the caller has registered a client discovery callback, this allow him to receive the full content of the discovery log through this callback (as normally he will receive only new discoveries).  */
void irlmp_discovery_request(int nslots)
{
	irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_LOG);
	if (!sysctl_discovery) {
		if (nslots == DISCOVERY_DEFAULT_SLOTS)
			nslots = sysctl_discovery_slots;
		irlmp_do_discovery(nslots);
	}
}