Skip to content

Commit 64ad5e1

Browse files
committed
test: make bufstore creates packets the new way
1 parent f228422 commit 64ad5e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/net/integration/bufstore/service.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ auto create_packet(BufferStore& bufstore) {
3232
// get buffer (as packet + data)
3333
auto* ptr = (Packet*) bufstore.get_buffer();
3434
// place packet at front of buffer
35-
new (ptr) Packet(MTU, 0, 0, &bufstore);
35+
new (ptr) Packet(0, 0, MTU, &bufstore);
3636
// regular shared_ptr that calls delete on Packet
3737
return std::unique_ptr<Packet>(ptr);
3838
}

0 commit comments

Comments
 (0)