[or-cvs] r15855: add purpose=controller in POSTDESCRIPTOR (blossom/trunk)

goodell at seul.org goodell at seul.org
Sat Jul 12 17:39:27 UTC 2008


Author: goodell
Date: 2008-07-12 13:39:27 -0400 (Sat, 12 Jul 2008)
New Revision: 15855

Modified:
   blossom/trunk/TorCtl.py
Log:
add purpose=controller in POSTDESCRIPTOR


Modified: blossom/trunk/TorCtl.py
===================================================================
--- blossom/trunk/TorCtl.py	2008-07-12 17:12:14 UTC (rev 15854)
+++ blossom/trunk/TorCtl.py	2008-07-12 17:39:27 UTC (rev 15855)
@@ -773,7 +773,7 @@
               %(circid, reason, "".join(flags)))
 
   def post_descriptor(self, desc):
-    self.sendAndRecv("+POSTDESCRIPTOR\r\n%s"%escape_dots(desc))
+    self.sendAndRecv("+POSTDESCRIPTOR purpose=controller\r\n%s"%escape_dots(desc))
 
 def parse_ns_body(data):
   """Parse the body of an NS event or command into a list of



More information about the tor-commits mailing list