MRI version bumpup for Aluminium
[netvirt.git] / elanmanager / impl / src / main / java / org / opendaylight / netvirt / elan / l2gw / ha / commands / LocalMcastCmd.java
index 23a7600881c3e2bb2ce26556805adcb0dfedf8db..0695d5d18ce826fcb225d8d5a5284e27ccc52591 100644 (file)
@@ -35,8 +35,8 @@ public class LocalMcastCmd
     @Override
     @Nullable
     public List<LocalMcastMacs> getData(HwvtepGlobalAugmentation node) {
-        if (node != null) {
-            return node.getLocalMcastMacs();
+        if (node != null && node.getLocalMcastMacs() != null) {
+            return new ArrayList<LocalMcastMacs>(node.getLocalMcastMacs().values());
         }
         return null;
     }