Skip to content
Snippets Groups Projects
Commit 8e1ccda0 authored by Srinivasan Ramasubramanian's avatar Srinivasan Ramasubramanian
Browse files

Fix a bug for checking BDDP packet if the packet is not unicast for it to...

Fix a bug for checking BDDP packet if the packet is not unicast for it to continue down the processing chain.
parent a551290b
No related branches found
No related tags found
No related merge requests found
...@@ -822,7 +822,7 @@ public class DeviceManagerImpl implements IDeviceManagerService, IOFMessageListe ...@@ -822,7 +822,7 @@ public class DeviceManagerImpl implements IDeviceManagerService, IOFMessageListe
short pinPort = pi.getInPort(); short pinPort = pi.getInPort();
long pinSw = sw.getId(); long pinSw = sw.getId();
if (topology.isAllowed(pinSw, pinPort) == false) { if (topology.isAllowed(pinSw, pinPort) == false) {
if (eth.getEtherType() != Ethernet.TYPE_BDDP || if (eth.getEtherType() == Ethernet.TYPE_BDDP ||
eth.isMulticast() == false) { eth.isMulticast() == false) {
return Command.CONTINUE; return Command.CONTINUE;
} else { } else {
......
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