Skip to content
Snippets Groups Projects
Commit fcfca0ce authored by Munish Mehta's avatar Munish Mehta
Browse files

Merge branch 'master' of github.com:bigswitch/bigswitchcontroller

parents 9fc57113 9fe524ae
No related branches found
No related tags found
No related merge requests found
......@@ -1073,6 +1073,8 @@ IFlowReconcileListener, IInfoProvider, IHAListener {
// generate a new device ID. However, we first check if
// the entity is allowed (e.g., for spoofing protection)
if (!isEntityAllowed(entity, entityClass)) {
logger.info("PacketIn is not allowed {} {}",
entityClass.getName(), entity);
return null;
}
synchronized (deviceKeyLock) {
......@@ -1106,6 +1108,8 @@ IFlowReconcileListener, IInfoProvider, IHAListener {
}
if (!isEntityAllowed(entity, device.getEntityClass())) {
logger.info("PacketIn is not allowed {} {}",
device.getEntityClass().getName(), entity);
return null;
}
int entityindex = -1;
......
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