summaryrefslogtreecommitdiff
path: root/src/or/command.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-14 20:01:15 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-14 20:01:15 +0000
commite843e0556355d1487a61640457d073238e214417 (patch)
treec855f360aa4badae5654e76ee920429fae47e740 /src/or/command.c
parentd483d3144aa20b316578a37cf6a8b74343ca7dba (diff)
downloadtor-e843e0556355d1487a61640457d073238e214417.tar.gz
tor-e843e0556355d1487a61640457d073238e214417.zip
r16670@catbus: nickm | 2007-11-14 14:56:30 -0500
Initial phase of proposal 110: accept RELAY_EARLY cells, and turn them into RELAY cells when sending them on over a v1 OR connection. svn:r12496
Diffstat (limited to 'src/or/command.c')
-rw-r--r--src/or/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 9dc8408a87..b882878ee1 100644
--- a/src/or/command.c
+++ b/src/or/command.c
@@ -136,6 +136,7 @@ command_process_cell(cell_t *cell, or_connection_t *conn)
PROCESS_CELL(created, cell, conn);
break;
case CELL_RELAY:
+ case CELL_RELAY_EARLY:
++stats_n_relay_cells_processed;
PROCESS_CELL(relay, cell, conn);
break;