Hyunsun Moon
Committed by Gerrit Code Review

Fixed packet request for multiple devices

Currently, it only installs the reuqest to the first registered device.

Change-Id: Ie376760be26544a9f8ece98d76e962cf536ca7cb
...@@ -221,6 +221,7 @@ public class DistributedPacketStore ...@@ -221,6 +221,7 @@ public class DistributedPacketStore
221 firstRequest.set(true); 221 firstRequest.set(true);
222 return ImmutableSet.of(request); 222 return ImmutableSet.of(request);
223 } else if (!existingRequests.contains(request)) { 223 } else if (!existingRequests.contains(request)) {
224 + firstRequest.set(true);
224 return ImmutableSet.<PacketRequest>builder() 225 return ImmutableSet.<PacketRequest>builder()
225 .addAll(existingRequests) 226 .addAll(existingRequests)
226 .add(request) 227 .add(request)
......