Fixed bug.
This commit is contained in:
parent
a1108b9129
commit
80159df09d
2
main.js
2
main.js
@ -64,7 +64,7 @@ function sniffmDNSLocalPackets() {
|
||||
// console.log("got a new mDNS response.",response);
|
||||
let all_answers = response.answers.concat(response.additionals);
|
||||
for (let k in all_answers) {
|
||||
let answer = response.answers[k];
|
||||
let answer = all_answers[k];
|
||||
|
||||
// 1. Handle DEVICES for a given SERVICE
|
||||
if (answer.type == "PTR") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user