Committed by
Gerrit Code Review
Correctly insert a drop action for empty treatment
It seems to me that the if-block between line 73 to 80 is ineffective in current implementation Change-Id: Ia28fc9c7c4aace7c60f67a7926ba451e2236c4c8
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -82,7 +82,7 @@ public class DefaultSingleTablePipeline extends AbstractHandlerBehaviour impleme | ... | @@ -82,7 +82,7 @@ public class DefaultSingleTablePipeline extends AbstractHandlerBehaviour impleme |
| 82 | FlowRule.Builder ruleBuilder = DefaultFlowRule.builder() | 82 | FlowRule.Builder ruleBuilder = DefaultFlowRule.builder() |
| 83 | .forDevice(deviceId) | 83 | .forDevice(deviceId) |
| 84 | .withSelector(selector) | 84 | .withSelector(selector) |
| 85 | - .withTreatment(fwd.treatment()) | 85 | + .withTreatment(treatment) |
| 86 | .fromApp(fwd.appId()) | 86 | .fromApp(fwd.appId()) |
| 87 | .withPriority(fwd.priority()); | 87 | .withPriority(fwd.priority()); |
| 88 | 88 | ... | ... |
-
Please register or login to post a comment