Skip to content
Snippets Groups Projects
Commit 0d7a6a2f authored by Shudong Zhou's avatar Shudong Zhou
Browse files

Broadcast cache with domain hash too restrictive

parent 1639f2ee
No related branches found
No related tags found
No related merge requests found
......@@ -446,8 +446,7 @@ public abstract class ForwardingBase implements
IFloodlightProviderService.CONTEXT_PI_PAYLOAD);
Long broadcastHash;
broadcastHash = topology.getL2DomainId(sw.getId()) * prime
+ eth.hashCode();
broadcastHash = sw.getId() * prime + eth.hashCode();
if (broadcastCache.update(broadcastHash)) {
sw.updateBroadcastCache(broadcastHash, pi.getInPort());
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment