Regression of openhab/openhab-core#4389

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Jacob Laursen 2024-10-01 23:01:01 +02:00 committed by Ciprian Pascu
parent af9a48253b
commit d80453d69a

View File

@ -163,7 +163,7 @@ public class LinkTapBridgeHandler extends BaseBridgeHandler {
final long sysMillis = System.currentTimeMillis();
if (lastMdnsScanMillis + MIN_TIME_BETWEEN_MDNS_SCANS_MS < sysMillis) {
logger.debug("Requesting MDNS Scan");
discoverySrvReg.startScan(THING_TYPE_GATEWAY, null);
discoverySrvReg.startScan(THING_TYPE_GATEWAY, null, null);
lastMdnsScanMillis = sysMillis;
} else {
logger.trace("Not requesting MDNS Scan last ran under 10 min's ago");