Skip to content

Instantly share code, notes, and snippets.

@sehraf
sehraf / hidden_node_tor_machine.patch
Created August 3, 2015 13:56
this patch allows tor proxy/tor hidden service to run on a different machine than the rs hidden node
Index: libretroshare/src/pqi/p3linkmgr.cc
===================================================================
--- libretroshare/src/pqi/p3linkmgr.cc (Revision 8611)
+++ libretroshare/src/pqi/p3linkmgr.cc (Arbeitskopie)
@@ -1797,7 +1797,12 @@
std::cerr << std::endl;
#endif
- if (sockaddr_storage_samenet(mLocalAddress, addr))
+ struct sockaddr_storage localHost;