mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-05-02 07:23:52 -04:00
More server wake-on-lan apptempts.
This commit is contained in:
parent
77a46f04ff
commit
2888cc105d
@ -246,7 +246,7 @@ module.exports.CreateMeshScanner = function (parent) {
|
|||||||
var wakepacket = Buffer.from(hexpacket, 'hex');
|
var wakepacket = Buffer.from(hexpacket, 'hex');
|
||||||
|
|
||||||
// Add all wake packets to the pending list
|
// 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) {
|
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, 7, '255.255.255.255']); // IPv4 Broadcast
|
||||||
obj.pendingOutboundPackets.push([obj.servers4[j], wakepacket, 16990, membershipIPv4]); // IPv4 Multicast
|
obj.pendingOutboundPackets.push([obj.servers4[j], wakepacket, 16990, membershipIPv4]); // IPv4 Multicast
|
||||||
|
Loading…
x
Reference in New Issue
Block a user