Update MRI projects for Aluminium
[lispflowmapping.git] / mappingservice / implementation / src / main / java / org / opendaylight / lispflowmapping / implementation / LispMappingService.java
index c14f74f7fd589f73e71386ee60894b9e0ddc8e49..6624f6b2da0105f74f70511315742270491ae0ba 100644 (file)
@@ -233,7 +233,7 @@ public class LispMappingService implements IFlowMapping, IMapRequestResultHandle
     @Override
     public void onMappingKeepAlive(MappingKeepAlive notification) {
         final MapRegisterCacheMetadata cacheMetadata = notification.getMapRegisterCacheMetadata();
-        for (EidLispAddress eidLispAddress : cacheMetadata.getEidLispAddress()) {
+        for (EidLispAddress eidLispAddress : cacheMetadata.nonnullEidLispAddress().values()) {
             final Eid eid = eidLispAddress.getEid();
             final XtrId xtrId = cacheMetadata.getXtrId();
             final Long timestamp = cacheMetadata.getTimestamp();