Permalink
Browse files

Don't createUnresolved otherwise in AdvertiseListenerImpl socketAddre…

…ss.getAddress() will return

and AdvertiseListenerImpl won't work.
  • Loading branch information...
1 parent f0cdf6e commit 0fae8e59da3f229b5df807ac6385dc2a5f7c0112 @jfclere jfclere committed Aug 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jboss/modcluster/config/AdvertiseConfiguration.java
@@ -30,7 +30,7 @@
*
*/
public interface AdvertiseConfiguration {
- static final InetSocketAddress DEFAULT_SOCKET_ADDRESS = InetSocketAddress.createUnresolved("224.0.1.105", 23364);
+ static final InetSocketAddress DEFAULT_SOCKET_ADDRESS = new InetSocketAddress("224.0.1.105", 23364);
InetSocketAddress getAdvertiseSocketAddress();

0 comments on commit 0fae8e5

Please sign in to comment.