mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
ee09c3ce9c
commit
b741503803
@ -7,6 +7,7 @@
|
|||||||
#include <util/radix64.h>
|
#include <util/radix64.h>
|
||||||
#include <pgp/pgpkeyutil.h>
|
#include <pgp/pgpkeyutil.h>
|
||||||
#include "rscertificate.h"
|
#include "rscertificate.h"
|
||||||
|
#include "util/rsstring.h"
|
||||||
|
|
||||||
//#define DEBUG_RSCERTIFICATE
|
//#define DEBUG_RSCERTIFICATE
|
||||||
|
|
||||||
@ -155,6 +156,7 @@ RsCertificate::RsCertificate(const RsPeerDetails& Detail, const unsigned char *b
|
|||||||
{
|
{
|
||||||
hidden_node = true;
|
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_internal_ip_and_port,0,6) ;
|
||||||
memset(ipv4_external_ip_and_port,0,6) ;
|
memset(ipv4_external_ip_and_port,0,6) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user