Commit 9199905f authored by afreyssin's avatar afreyssin

Fix a potential bug with distributed configuration (JORAM-281).

parent 305d469f
......@@ -359,7 +359,10 @@ public final class UserAgent extends Agent implements UserAgentMBean, ProxyAgent
public static boolean isValidCC(AgentId ua, int ctxid) {
return validCC.contains(new CCUID(ua, ctxid));
if ((ua != null) && ua.isLocal())
return validCC.contains(new CCUID(ua, ctxid));
// If the requested UserAgent is not local we consider the context as active.
return true;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment