Satish K
Committed by Gerrit Code Review

Null pointer access - fix

Change-Id: I611727000bfcd15d36f3bed5a5d609031fcf791c
...@@ -163,7 +163,7 @@ public class OpenstackSwitchingRulePopulator { ...@@ -163,7 +163,7 @@ public class OpenstackSwitchingRulePopulator {
163 .filter(n -> n.id().equals(port.networkId())) 163 .filter(n -> n.id().equals(port.networkId()))
164 .findAny().orElse(null); 164 .findAny().orElse(null);
165 if (network == null) { 165 if (network == null) {
166 - log.warn("No VNI information for network {}", network.id()); 166 + log.warn("No VNI information for network {}", port.networkId());
167 return null; 167 return null;
168 } 168 }
169 169
......