Skip to content

Commit

Permalink
Merge "Ignore physical device notification when device name is not pr…
Browse files Browse the repository at this point in the history
…esent." into R2.20
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Nov 25, 2015
2 parents 50b459d + d0326c2 commit efd97fa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ void ConnectionStateTable::PhysicalDeviceNotify(DBTablePartBase *part,
return;
}
if (!state) {
if (dev->name().empty())
return;

state = new ConnectionStateEntry(this, dev->name());
pair<EntryMap::iterator, bool> ret;
ret = entry_map_.insert(pair<string, ConnectionStateEntry*>(dev->name(),
Expand Down

0 comments on commit efd97fa

Please sign in to comment.