Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jun 26, 2023
1 parent c07b415 commit 2107314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jgroups/protocols/relay/RELAY2.java
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ protected void handleMessage(Relay2Header hdr, Message msg) {
protected void route(SiteAddress dest, SiteAddress sender, Message msg) {
String target_site=dest.getSite();
if(target_site.equals(site)) {
if(local_addr.equals(dest) || ((dest instanceof SiteMaster) && is_site_master))
if(local_addr.equals(dest) || is_site_master && dest instanceof SiteMaster)
deliver(dest, sender, msg);
else
deliverLocally(dest, sender, msg); // send to member in same local site
Expand Down

0 comments on commit 2107314

Please sign in to comment.