Skip to content

Commit

Permalink
Merge pull request #1156 from lpaszcza/fix/bacnet_connect_error
Browse files Browse the repository at this point in the history
Fix: Bacnet Device connection error
  • Loading branch information
unocelli authored Apr 15, 2024
2 parents 796539b + 5011dcd commit a389686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/runtime/devices/bacnet/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function BACNETclient(_data, _logger, _events) {
tryExplicit = settings['broadcastAddress'].indexOf('255') === -1;
}

if (utils.getNetworkInterfaces().indexOf(ipInterface) === -1) {
if (ipInterface != '0.0.0.0' && utils.getNetworkInterfaces().indexOf(ipInterface) === -1) {
reject(`'${data.name}' selected interface don't exist!`);
return;
}
Expand Down

0 comments on commit a389686

Please sign in to comment.