diff --git a/apps/fwd/src/main/java/org/onlab/onos/fwd/ReactiveForwarding.java b/apps/fwd/src/main/java/org/onlab/onos/fwd/ReactiveForwarding.java
index f1d33ed64d..18f5d0a7ca 100644
--- a/apps/fwd/src/main/java/org/onlab/onos/fwd/ReactiveForwarding.java
+++ b/apps/fwd/src/main/java/org/onlab/onos/fwd/ReactiveForwarding.java
@@ -132,6 +132,11 @@ public class ReactiveForwarding {
InboundPacket pkt = context.inPacket();
Ethernet ethPkt = pkt.parsed();
+ // Bail if this is deemed to be a control packet.
+ if (isControlPacket(ethPkt)) {
+ return;
+ }
+
HostId id = HostId.hostId(ethPkt.getDestinationMAC());
// Do not process link-local addresses in any way.
@@ -180,6 +185,13 @@ public class ReactiveForwarding {
// Otherwise forward and be done with it.
installRule(context, path.src().port());
}
+
+ }
+
+ // Indicates whether this is a control packet, e.g. LLDP, BDDP
+ private boolean isControlPacket(Ethernet eth) {
+ short type = eth.getEtherType();
+ return type == Ethernet.TYPE_LLDP || type == Ethernet.TYPE_BSN;
}
// Selects a path from the given set that does not lead back to the
diff --git a/apps/oecfg/pom.xml b/apps/oecfg/pom.xml
index d0cd081883..7a8441285e 100644
--- a/apps/oecfg/pom.xml
+++ b/apps/oecfg/pom.xml
@@ -49,7 +49,6 @@
org.apache.maven.plugins
maven-shade-plugin
- 2.3
package
diff --git a/pom.xml b/pom.xml
index ee2a3bbd6c..28b387e3c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,8 @@
onlab-temp
ON.lab temporary repository
- http://mavenrepo.onlab.us:8081/nexus/content/groups/public
+ http://mavenrepo.onlab.us:8081/nexus/content/groups/public
+
true
@@ -420,6 +421,12 @@
true
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+ 2.3
+
+
org.codehaus.mojo
findbugs-maven-plugin