diff --git a/src/org/jgroups/protocols/TP.java b/src/org/jgroups/protocols/TP.java index df1f2cae31..3b1bdaaa93 100644 --- a/src/org/jgroups/protocols/TP.java +++ b/src/org/jgroups/protocols/TP.java @@ -1417,7 +1417,8 @@ protected void sendToAll(byte[] buf, int offset, int length) throws Exception { if (!Objects.equals(local_physical_addr, target)) dests.add(target); } - sendUnicasts(dests, buf, offset, length); + if (!dests.isEmpty()) + sendUnicasts(dests, buf, offset, length); if(missing != null) fetchPhysicalAddrs(missing); }