Merge branch 'master' of https://github.com/OPENNETWORKINGLAB/ONOS
Conflicts:
start-onos.sh
diff --git a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkDiscoveryManager.java b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkDiscoveryManager.java
index f5ad9ac..c3ae75a 100644
--- a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkDiscoveryManager.java
+++ b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkDiscoveryManager.java
@@ -969,7 +969,8 @@
// continue with the regular processing.
if (bsn.getPayload() instanceof LLDP == false)
return Command.CONTINUE;
- return handleLldp((LLDP) bsn.getPayload(), sw, pi, false, cntx);
+ //return handleLldp((LLDP) bsn.getPayload(), sw, pi, false, cntx);
+ return Command.STOP;
} else if (eth.getEtherType() == Ethernet.TYPE_LLDP) {
return handleLldp((LLDP) eth.getPayload(), sw, pi, true, cntx);
} else if (eth.getEtherType() < 1500) {
diff --git a/start-onos.sh b/start-onos.sh
index 9f70527..089b1d9 100755
--- a/start-onos.sh
+++ b/start-onos.sh
@@ -79,7 +79,7 @@
echo "Starting ONOS controller ..."
echo
java ${JVM_OPTS} -Dlogback.configurationFile=${FL_LOGBACK} -jar ${FL_JAR} -cf ./onos.properties > /dev/null 2>&1 &
- sudo tcpdump -n -i eth0 'tcp port 6633' -s0 -w ${PCAP_LOG} &
+ sudo -b /usr/sbin/tcpdump -n -i eth0 -s0 -w ${PCAP_LOG} 'tcp port 6633' > /dev/null 2>&1
}
function stop {