Skip to content
Snippets Groups Projects
Commit 1c18f42c authored by Ryan Izard's avatar Ryan Izard
Browse files

Merge pull request #623 from puneet2singh/master

Update ACL.java
parents 716e280d f55af80a
No related branches found
No related tags found
No related merge requests found
......@@ -351,7 +351,11 @@ public class ACL implements IACLService, IFloodlightModule, IDeviceListener {
@Override
public void deviceAdded(IDevice device) {
SwitchPort[] switchPort = device.getAttachmentPoints();
SwitchPort[] switchPort = device.getAttachmentPoints();
if (switchPort.length == 0) {
//Device manager does not yet know an attachment point for a device (Bug Fix)
return;
}
IPv4Address[] ips = device.getIPv4Addresses();
if (ips.length == 0) {
// A new no-ip device added
......
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