MRI version bumpup for Aluminium
[netvirt.git] / ipv6service / impl / src / main / java / org / opendaylight / netvirt / ipv6service / Ipv6RouterAdvt.java
index e44c78738d15d4e3a459a473a970fa0344fe2391..d37d33f7e95ea4013238e35dd211a3f8f441c7b2 100644 (file)
@@ -238,7 +238,7 @@ public class Ipv6RouterAdvt {
             buf.putInt((int)pdu.getMtu().longValue());
         }
 
-        for (PrefixList prefix : pdu.nonnullPrefixList()) {
+        for (PrefixList prefix : new ArrayList<PrefixList>(pdu.nonnullPrefixList().values())) {
             buf.put((byte)prefix.getOptionType().shortValue());
             buf.put((byte)prefix.getOptionLength().shortValue());
             buf.put((byte)prefix.getPrefixLength().shortValue());