Added the ability to enable or disable plugins on startup

This commit is contained in:
Ziver Koc 2020-06-25 23:36:36 +02:00
parent 0b2cae89e1
commit fa63abd61c

View file

@ -160,7 +160,7 @@ public class MulticastDnsServer extends ThreadedUDPNetwork implements ThreadedUD
// ------------------------------------------ // ------------------------------------------
case DnsConstants.TYPE.PTR: case DnsConstants.TYPE.PTR:
if (question.name.startsWith("_service.")){ if (question.name.startsWith("_service.")) {
String postFix = question.name.substring(9); String postFix = question.name.substring(9);
for (String domain : entries.keySet()){ for (String domain : entries.keySet()){
if (domain.endsWith(postFix)) { if (domain.endsWith(postFix)) {