Added the ability to enable or disable plugins on startup
This commit is contained in:
parent
0b2cae89e1
commit
fa63abd61c
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ public class MulticastDnsServer extends ThreadedUDPNetwork implements ThreadedUD
|
|||
// ------------------------------------------
|
||||
|
||||
case DnsConstants.TYPE.PTR:
|
||||
if (question.name.startsWith("_service.")){
|
||||
if (question.name.startsWith("_service.")) {
|
||||
String postFix = question.name.substring(9);
|
||||
for (String domain : entries.keySet()){
|
||||
if (domain.endsWith(postFix)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue