T3: Fix condition to properly support L2 Broadcast
Change-Id: I4823f78bc2090b25a687acdbd558134727511755
(cherry picked from commit 25565d81eeb9e428a09eeb38206ba4268a8a77de)
diff --git a/src/main/java/org/onosproject/t3/impl/TroubleshootManager.java b/src/main/java/org/onosproject/t3/impl/TroubleshootManager.java
index 4087ec9..2232210 100644
--- a/src/main/java/org/onosproject/t3/impl/TroubleshootManager.java
+++ b/src/main/java/org/onosproject/t3/impl/TroubleshootManager.java
@@ -444,7 +444,7 @@
.getCriterion(Criterion.Type.ETH_TYPE);
//We treat as correct output only if it's not LLDP or BDDP
if (!(ethTypeCriterion.ethType().equals(EtherType.LLDP.ethType())
- || !ethTypeCriterion.ethType().equals(EtherType.BDDP.ethType()))) {
+ && !ethTypeCriterion.ethType().equals(EtherType.BDDP.ethType()))) {
if (hostsList.isEmpty()) {
trace.addResultMessage("Packet is " + ((EthTypeCriterion) outputPath.getFinalPacket()
.getCriterion(Criterion.Type.ETH_TYPE)).ethType() + " and reached " +