aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-06 00:28:01 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-03 11:29:47 -0500
commitecf88b16b8672c8b734d13d84910e97357c470a8 (patch)
tree0aacc9fab28ed9e4355a979da9d510c6275338a0 /src/or/command.c
parent5c68a1efaa9511baf2a2af0a49946e0a2de9e246 (diff)
downloadtor-ecf88b16b8672c8b734d13d84910e97357c470a8.tar.gz
tor-ecf88b16b8672c8b734d13d84910e97357c470a8.zip
Enable handling of create2/extend2/created2/extended2
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 773d19cb5d..7d1f53a879 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -133,11 +133,13 @@ command_process_cell(channel_t *chan, cell_t *cell)
switch (cell->command) {
case CELL_CREATE:
case CELL_CREATE_FAST:
+ case CELL_CREATE2:
++stats_n_create_cells_processed;
PROCESS_CELL(create, cell, chan);
break;
case CELL_CREATED:
case CELL_CREATED_FAST:
+ case CELL_CREATED2:
++stats_n_created_cells_processed;
PROCESS_CELL(created, cell, chan);
break;