View | Details | Raw Unified | Return to bug 46935
Collapse All | Expand All

(-)apache-tomcat-5.5.27-src.orig/container/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java (-1 / +1 lines)
Lines 166-172 Link Here
166
    
166
    
167
    protected void setupSocket() throws IOException {
167
    protected void setupSocket() throws IOException {
168
        if (mcastBindAddress != null) socket = new MulticastSocket(new java.net.
168
        if (mcastBindAddress != null) socket = new MulticastSocket(new java.net.
169
            InetSocketAddress(mcastBindAddress, port));
169
            InetSocketAddress(address, port));
170
        else socket = new MulticastSocket(port);
170
        else socket = new MulticastSocket(port);
171
	    socket.setLoopbackMode(false); //hint that we don't need loop back messages
171
	    socket.setLoopbackMode(false); //hint that we don't need loop back messages
172
        if (mcastBindAddress != null) {
172
        if (mcastBindAddress != null) {

Return to bug 46935