[tor-commits] [flashproxy/master] Add the (default) missing transport arg to put_reg in reg-daemon.

infinity0 at torproject.org infinity0 at torproject.org
Mon Oct 28 14:47:41 UTC 2013


commit 86da700dff8902c4974c3f0ea194a3a8f1f23334
Author: David Fifield <david at bamsoftware.com>
Date:   Thu Oct 17 02:37:55 2013 -0700

    Add the (default) missing transport arg to put_reg in reg-daemon.
---
 facilitator/facilitator-reg-daemon |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/facilitator/facilitator-reg-daemon b/facilitator/facilitator-reg-daemon
index ed9eb7e..0eef4b4 100755
--- a/facilitator/facilitator-reg-daemon
+++ b/facilitator/facilitator-reg-daemon
@@ -125,7 +125,7 @@ class Handler(SocketServer.StreamRequestHandler):
             plaintext = rsa.private_decrypt(ciphertext, RSA.pkcs1_oaep_padding)
             client_addr = find_client_addr(plaintext)
             log(u"registering %s" % safe_str(fac.format_addr(client_addr)))
-            if fac.put_reg(FACILITATOR_ADDR, client_addr):
+            if fac.put_reg(FACILITATOR_ADDR, client_addr, "websocket"):
                 print >> self.wfile, "OK"
             else:
                 print >> self.wfile, "FAIL"





More information about the tor-commits mailing list