mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-23 13:21:21 +02:00
Null pointer deference fix in openstackswitching
Change-Id: I00d4e3861ea699fbbc1991f85101dfaf3ae09780
This commit is contained in:
parent
3420773d06
commit
a91c8713d1
@ -303,7 +303,7 @@ public class OpenstackSwitchingManager implements OpenstackSwitchingService {
|
||||
.filter(s -> s.networkId().equals(port.networkId()))
|
||||
.findFirst().get();
|
||||
if (subnet == null) {
|
||||
log.debug("No subnet information for network {}", subnet.id());
|
||||
log.debug("No subnet information for network {}", port.networkId());
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user