File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ CommandResponse SequentialUpdate::CommandClear(const bess::pb::EmptyArg &) {
116
116
return CommandSuccess ();
117
117
}
118
118
119
- void SequentialUpdate::ProcessBatch (bess::PacketBatch *batch) {
119
+ void SequentialUpdate::ProcessBatch (Context *ctx, bess::PacketBatch *batch) {
120
120
int cnt = batch->cnt ();
121
121
122
122
for (size_t i = 0 ; i < num_vars_; i++) {
@@ -143,7 +143,7 @@ void SequentialUpdate::ProcessBatch(bess::PacketBatch *batch) {
143
143
var->cur = cur;
144
144
}
145
145
146
- RunNextModule (batch);
146
+ RunNextModule (ctx, batch);
147
147
}
148
148
149
149
ADD_MODULE (SequentialUpdate, " supdate" ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class SequentialUpdate final : public Module {
46
46
47
47
CommandResponse Init (const sample::supdate::pb::SequentialUpdateArg &arg);
48
48
49
- void ProcessBatch (bess::PacketBatch *batch) override ;
49
+ void ProcessBatch (Context *ctx, bess::PacketBatch *batch) override ;
50
50
51
51
CommandResponse
52
52
CommandAdd (const sample::supdate::pb::SequentialUpdateArg &arg);
You can’t perform that action at this time.
0 commit comments