Permalink
Browse files

added 0.0.0.0 as valid bind address (just checking)

  • Loading branch information...
1 parent d95c0c4 commit 782b1dd4adb4c7fd66c469f091a45649494becc8 @belaban committed Feb 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/org/jgroups/util/Util.java
View
2 src/org/jgroups/util/Util.java
@@ -3524,6 +3524,8 @@ public static boolean isStackAvailable(boolean ipv4) {
}
public static void checkIfValidAddress(InetAddress bind_addr, String prot_name) throws Exception {
+ if(bind_addr.isAnyLocalAddress())
+ return;
Collection<InetAddress> addrs=getAllAvailableAddresses();
for(InetAddress addr: addrs) {
if(addr.equals(bind_addr))

0 comments on commit 782b1dd

Please sign in to comment.