From ffaa344a32708d7f60e64aef5f0c3d5f7e586676 Mon Sep 17 00:00:00 2001
From: Roger Dingledine <arma@torproject.org>
Date: Sat, 4 Oct 2003 08:20:07 +0000
Subject: [PATCH] describe what's _actually_ in the payload of a relay begin
 cell

svn:r540
---
 doc/tor-spec.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index 850440e06a..d6c791872c 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -330,8 +330,9 @@ which reveals the downstream node.
    To create a new anonymized TCP connection, the OP sends a
    RELAY_BEGIN data cell with a payload encoding the address and port
    of the destination host.  The stream ID is zero.  The payload format is:
-         ADDRESS | ':' | PORT | '\000'
-   where ADDRESS may be a DNS hostname, or an IPv4 address in
+         NEWSTREAMID | ADDRESS | ':' | PORT | '\000'
+   where NEWSTREAMID is the newly generated Stream ID to use for
+   this stream, ADDRESS may be a DNS hostname, or an IPv4 address in
    dotted-quad format; and where PORT is encoded in decimal.
 
    Upon receiving this packet, the exit node resolves the address as
-- 
GitLab