mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -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
1 changed files with 3 additions and 1 deletions
|
@ -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) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue