------------------------------------------------------------
revno: 2160
committer: cologic <[email protected]>
branch nick: dcplusplus
timestamp: Mon 2010-06-14 03:08:07 -0400
message:
  untested; enable rather optimistic NAT-T searching
modified:
  dcpp/AdcHub.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dcpp/AdcHub.cpp'
--- dcpp/AdcHub.cpp	2010-05-10 17:23:07 +0000
+++ dcpp/AdcHub.cpp	2010-06-14 07:08:07 +0000
@@ -739,7 +739,13 @@
 		send(c);
 	} else {
 		c.setType(AdcCommand::TYPE_FEATURE);
+#ifndef DISABLE_NAT_TRAVERSAL
+		c.setFeatures("+TCP4-NAT0");
+		send(c);		
+		c.setFeatures("+NAT0");
+#else
 		c.setFeatures("+TCP4");
+#endif
 		send(c);
 	}
 }

_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to