deleted unused function
This commit is contained in:
parent
0567ab8a30
commit
80d493ef78
12
main.js
12
main.js
@ -124,18 +124,6 @@ function sniffmDNSLocalPackets() {
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
function injectmDNSPacketLocally(type,name,data,flush = true,_class = 'IN',ttl = 120) {
|
|
||||||
console.log(`sending packet ${name} of ${type} with data: ${data}`);
|
|
||||||
mdns.respond({answers:[
|
|
||||||
{
|
|
||||||
name: name,
|
|
||||||
type: type,
|
|
||||||
ttl: ttl,
|
|
||||||
class: _class,
|
|
||||||
flush: flush,
|
|
||||||
data: data
|
|
||||||
}
|
|
||||||
]});}
|
|
||||||
|
|
||||||
function replyLocallyWithRemoteDevicesData(name,type,query) {
|
function replyLocallyWithRemoteDevicesData(name,type,query) {
|
||||||
const answers = [];
|
const answers = [];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user