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

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



commit d78a90ca86d9791ca64ae0e533c6fc9131498f3a
Author: Alex <alex@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))



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