diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9ef094d17..491f2aa01 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,3 +64,4 @@ Please add your name to the end of this file and include this file to the PR, un * Brent Stephens * M. Asim Jamshed * Yan Grunenberger +* Farbod Shahinfar diff --git a/core/modules/replicate.cc b/core/modules/replicate.cc index ccf3e8c0a..3c01d1427 100644 --- a/core/modules/replicate.cc +++ b/core/modules/replicate.cc @@ -74,7 +74,7 @@ void Replicate::ProcessBatch(Context *ctx, bess::PacketBatch *batch) { EmitPacket(ctx, newpkt, gates_[j]); } } - EmitPacket(ctx, tocopy, 0); + EmitPacket(ctx, tocopy, gates_[0]); } }