mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Silence warning of relaycell/circbw tst.
Shouldn't send RELAY_COMMAND_DATA cell with 0 stream id.
This commit is contained in:
parent
aff49cc52d
commit
99974d4c1e
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ test_circbw_relay(void *arg)
|
|||
ASSERT_UNCOUNTED_BW();
|
||||
|
||||
/* Data cell on stream 0: not counted */
|
||||
PACK_CELL(0, RELAY_COMMAND_DATA, "Data1234");
|
||||
PACK_CELL(1, RELAY_COMMAND_DATA, "Data1234");
|
||||
connection_edge_process_relay_cell(&cell, TO_CIRCUIT(circ), edgeconn,
|
||||
circ->cpath);
|
||||
ASSERT_UNCOUNTED_BW();
|
||||
|
|
Loading…
Add table
Reference in a new issue