s.joinGroup(group_addr, i); if(trace) log.trace("joined " + group_addr + " on " + i.getName());
if (i.getInetAddresses().hasMoreElements()) { s.joinGroup(group_addr, i); if(trace) log.trace("joined " + group_addr + " on " + i.getName()); }
        private void bindToInterfaces(java.util.List interfaces, MulticastSocket s) {            SocketAddress group_addr=new InetSocketAddress(diagnostics_addr, diagnostics_port);            for(Iterator it=interfaces.iterator(); it.hasNext();) {                NetworkInterface i=(NetworkInterface)it.next();                try {                    s.joinGroup(group_addr, i);                    if(trace)                        log.trace("joined " + group_addr + " on " + i.getName());                }                catch(IOException e) {                    log.warn("failed to join " + group_addr + " on " + i.getName() + ": " + e);                }            }        }