mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Fix build (#17493)
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:
parent
af9a48253b
commit
d80453d69a
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user