mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 04:06:49 +02:00
Fix NoSuchElementException
Change-Id: I2c80400d10dffd7dfda777de5279135ae687af35
This commit is contained in:
parent
45fede439d
commit
71e64f18e5
@ -244,6 +244,11 @@ public class DefaultRoutingHandler {
|
||||
*/
|
||||
// XXX refactor
|
||||
protected void populateSubnet(Set<ConnectPoint> cpts, Set<IpPrefix> subnets) {
|
||||
if (cpts == null || cpts.size() < 1 || cpts.size() > 2) {
|
||||
log.warn("Skipping populateSubnet due to illegal size of connect points. {}", cpts);
|
||||
return;
|
||||
}
|
||||
|
||||
lastRoutingChange = DateTime.now();
|
||||
statusLock.lock();
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user