commit | b5f4f2787aa0945b251d8284c821d67eaac96212 | [log] [tgz] |
---|---|---|
author | Hyunsun Moon <hyunsun.moon@gmail.com> | Wed Aug 03 14:53:46 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Aug 04 20:06:24 2016 +0000 |
tree | 7e4ee85b668ceab8dbeed3a2151bae0ce210bb00 | |
parent | 264d957a0c770049b630f149870661008042b61a [diff] |
Fixed packet request for multiple devices Currently, it only installs the reuqest to the first registered device. Change-Id: Ie376760be26544a9f8ece98d76e962cf536ca7cb
diff --git a/core/store/dist/src/main/java/org/onosproject/store/packet/impl/DistributedPacketStore.java b/core/store/dist/src/main/java/org/onosproject/store/packet/impl/DistributedPacketStore.java index 25429ad..c2f713a 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/packet/impl/DistributedPacketStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/packet/impl/DistributedPacketStore.java
@@ -221,6 +221,7 @@ firstRequest.set(true); return ImmutableSet.of(request); } else if (!existingRequests.contains(request)) { + firstRequest.set(true); return ImmutableSet.<PacketRequest>builder() .addAll(existingRequests) .add(request)