async _sendQueryPacket(buf) {
for (const netif_address of this._netif_address_list) {
for (let i = 0; i < 3; i++) {
this._udp.setMulticastInterface(netif_address);
await this._wait(100);
await this._udpSend(buf, this._UDP_PORT, this._MULTICAST_ADDR);
if (this._is_discovering === true) {
break;
}
await this._wait(100);
}
// THIS LINE ENDS QUERYING AFTER THE FIRST INTERFACE????
if (this._is_discovering === true) {
break;
}
}
}
I am not sure why this behavior is in there? It seems like it would only ever query interface 1.