Commit 994c2851 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Disable by default (JM-966).

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7176 b35dd754-fafc-0310-a699-88a17e54d16e
parent 567ca2b9
......@@ -11,10 +11,7 @@
package org.jivesoftware.wildfire.net;
import org.jivesoftware.util.Log;
import org.jivesoftware.util.PropertyEventDispatcher;
import org.jivesoftware.util.PropertyEventListener;
import org.jivesoftware.util.TaskEngine;
import org.jivesoftware.util.*;
import org.jivesoftware.wildfire.ServerPort;
import org.jivesoftware.wildfire.XMPPServer;
import org.jivesoftware.wildfire.XMPPServerInfo;
......@@ -80,6 +77,10 @@ public class MulticastDNSService extends BasicModule {
}
public void start() throws IllegalStateException {
// If the service isn't enabled, return.
if (!JiveGlobals.getBooleanProperty("multicastDNS.enabled", false) ) {
return;
}
TimerTask startService = new TimerTask() {
public void run() {
XMPPServerInfo info = XMPPServer.getInstance().getServerInfo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment