Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SuiOni committed May 27, 2022
1 parent 7787063 commit 532022d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ SSDP.prototype._createSockets = function () {
self._logger('discovering all IPs from interface %s', iName)

interfaces[iName].forEach(function (ipInfo) {
if (ipInfo.internal == false && ipInfo.family == "IPv4") {
if (ipInfo.internal == false && ( ipInfo.family == "IPv4" || ipInfo.family == 4)) {
self._logger('Will use interface %s', iName)
var socket

Expand Down

0 comments on commit 532022d

Please sign in to comment.