Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Thomas Vachuska
2016-03-01 23:58:15 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7a815ac29f63a9ab58a95cfa67c06c258f88886d
7a815ac2
1 parent
c7e9463a
Fixing NPE.
Change-Id: Icc991a49308fb335102796e2c4782af8bee3ef6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
providers/lldp/src/main/java/org/onosproject/provider/lldp/impl/LldpLinkProvider.java
providers/lldp/src/main/java/org/onosproject/provider/lldp/impl/LldpLinkProvider.java
View file @
7a815ac
...
...
@@ -26,6 +26,7 @@ import org.apache.felix.scr.annotations.Property;
import
org.apache.felix.scr.annotations.Reference
;
import
org.apache.felix.scr.annotations.ReferenceCardinality
;
import
org.onlab.packet.Ethernet
;
import
org.onlab.util.SharedExecutors
;
import
org.onlab.util.Tools
;
import
org.onosproject.cfg.ComponentConfigService
;
import
org.onosproject.cluster.ClusterMetadata
;
...
...
@@ -784,7 +785,7 @@ public class LldpLinkProvider extends AbstractProvider implements LinkProvider {
@Override
public
void
event
(
NetworkConfigEvent
event
)
{
executor
.
submit
(()
->
{
SharedExecutors
.
getSingleThreadExecutor
().
execute
(()
->
{
if
(
event
.
configClass
()
==
LinkDiscoveryFromDevice
.
class
&&
CONFIG_CHANGED
.
contains
(
event
.
type
()))
{
...
...
Please
register
or
login
to post a comment