Skip to content
Snippets Groups Projects
Commit 467a5e13 authored by Kanzhe Jiang's avatar Kanzhe Jiang
Browse files

Check if device AP is null before populate its AP

parent a89ecd98
No related branches found
No related tags found
No related merge requests found
......@@ -867,7 +867,9 @@ IFlowReconcileListener, IInfoProvider, IHAListener {
}
boolean learnap = true;
if (!isValidAttachmentPoint(swDpid, inPort)) {
if (swDpid == null ||
inPort == null ||
!isValidAttachmentPoint(swDpid, inPort)) {
// If this is an internal port or we otherwise don't want
// to learn on these ports. In the future, we should
// handle this case by labeling flows with something that
......
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