← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2623: V6 fix

 

------------------------------------------------------------
revno: 2623
committer: Jacek Sieka <arnetheduck@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Sun 2011-10-02 21:36:27 +0200
message:
  V6 fix
modified:
  dcpp/Socket.h


--
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/Socket.h'
--- dcpp/Socket.h	2011-09-24 21:13:31 +0000
+++ dcpp/Socket.h	2011-10-02 19:36:27 +0000
@@ -88,7 +88,7 @@
 		TYPE_UDP = IPPROTO_UDP
 	};
 
-	explicit Socket(SocketType type, bool v4only = false) : type(type), v4only(true) { }
+	explicit Socket(SocketType type, bool v4only = false) : type(type), v4only(v4only) { }
 
 	virtual ~Socket() { }