[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 86da700dff8902c4974c3f0ea194a3a8f1f23334
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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"



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits