Skip to content

Commit

Permalink
More server wake-on-lan apptempts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylianst committed Apr 24, 2021
1 parent 77a46f0 commit 2888cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshscanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ module.exports.CreateMeshScanner = function (parent) {
var wakepacket = Buffer.from(hexpacket, 'hex');

// Add all wake packets to the pending list
for (var k = 0; k < 2; k++) {
for (var k = 0; k < 5; k++) {
for (j in obj.servers4) {
obj.pendingOutboundPackets.push([obj.servers4[j], wakepacket, 7, '255.255.255.255']); // IPv4 Broadcast
obj.pendingOutboundPackets.push([obj.servers4[j], wakepacket, 16990, membershipIPv4]); // IPv4 Multicast
Expand Down

0 comments on commit 2888cc1

Please sign in to comment.