enable DHT stunner

This commit is contained in:
sehraf 2020-02-05 17:56:47 +01:00
parent a9f24c85a0
commit a7500473eb
No known key found for this signature in database
GPG Key ID: DF09F6EAE356B2C6
2 changed files with 6 additions and 4 deletions

View File

@ -12,10 +12,6 @@ DESTDIR = lib
!include("use_libretroshare.pri"):error("Including") !include("use_libretroshare.pri"):error("Including")
# the dht stunner is used to obtain RS external ip addr. when it is natted
# this system is unreliable and rs supports a newer and better one (asking connected peers)
# CONFIG += useDhtStunner
# treat warnings as error for better removing # treat warnings as error for better removing
#QMAKE_CFLAGS += -Werror #QMAKE_CFLAGS += -Werror
#QMAKE_CXXFLAGS += -Werror #QMAKE_CXXFLAGS += -Werror

View File

@ -111,6 +111,12 @@ no_direct_chat:CONFIG -= direct_chat
CONFIG *= bitdht CONFIG *= bitdht
no_bitdht:CONFIG -= bitdht no_bitdht:CONFIG -= bitdht
# The DHT stunner is used to determine the NAT type using other RS DHT peers and the STUN (Session Traversal Utilities for NAT) protocol.
# To disable DHT stunner append the following assignation to qmake command line
# "CONFIG+=no_useDhtStunner"
CONFIG *= useDhtStunner
no_useDhtStunner:CONFIG -= useDhtStunner
# To select your MacOsX version append the following assignation to qmake # To select your MacOsX version append the following assignation to qmake
# command line "CONFIG+=rs_macos10.11" where 10.11 depends your version # command line "CONFIG+=rs_macos10.11" where 10.11 depends your version
macx:CONFIG *= rs_macos10.11 macx:CONFIG *= rs_macos10.11