[tor-commits] [flashproxy/master] Use same format as flashproxy-reg-email for registrations.

dcf at torproject.org dcf at torproject.org
Wed Mar 13 09:01:24 UTC 2013


commit d78a90ca86d9791ca64ae0e533c6fc9131498f3a
Author: Alex <alex at alex-macair.(none)>
Date:   Sat Mar 9 14:44:36 2013 -0500

    Use same format as flashproxy-reg-email for registrations.
    
    Prefix client addresses with "client=". This matches what
    flashproxy-reg-email does and what is expected by flashproxy-
    reg-daemon.
---
 flashproxy-reg-url |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/flashproxy-reg-url b/flashproxy-reg-url
index 20156cd..ed976f5 100755
--- a/flashproxy-reg-url
+++ b/flashproxy-reg-url
@@ -107,7 +107,7 @@ if len(args) != 1:
     sys.exit(1)
 
 addr = parse_addr_spec(args[0], defport=DEFAULT_REMOTE_PORT)
-spec = format_addr(addr)
+spec = u"client=" + format_addr(addr)
 spec = spec.encode('UTF-8')
 
 rsa = RSA.load_pub_key_bio(BIO.MemoryBuffer(FACILITATOR_PUBKEY_PEM))





More information about the tor-commits mailing list