Added port to hidden address.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7031 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2014-01-18 05:27:54 +00:00
parent ee09c3ce9c
commit b741503803

View File

@ -7,6 +7,7 @@
#include <util/radix64.h>
#include <pgp/pgpkeyutil.h>
#include "rscertificate.h"
#include "util/rsstring.h"
//#define DEBUG_RSCERTIFICATE
@ -154,7 +155,8 @@ RsCertificate::RsCertificate(const RsPeerDetails& Detail, const unsigned char *b
if (Detail.isHiddenNode)
{
hidden_node = true;
hidden_node_address = Detail.hiddenNodeAddress;
hidden_node_address = Detail.hiddenNodeAddress;
rs_sprintf_append(hidden_node_address, ":%u", Detail.hiddenNodePort);
memset(ipv4_internal_ip_and_port,0,6) ;
memset(ipv4_external_ip_and_port,0,6) ;