summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/xmlstream.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-06-20 22:21:34 -0700
committerLance Stout <lancestout@gmail.com>2012-06-20 22:21:34 -0700
commit2a78570d6551cb5f85fb79083d9bdddf7f86b3d6 (patch)
tree3fe87ad3a6526ee0a406565d3391bb5a7091ec4e /sleekxmpp/xmlstream/xmlstream.py
parent7a112f25237fcae3a99d327f56d4e01a94fd6e86 (diff)
downloadslixmpp-2a78570d6551cb5f85fb79083d9bdddf7f86b3d6.tar.gz
slixmpp-2a78570d6551cb5f85fb79083d9bdddf7f86b3d6.tar.bz2
slixmpp-2a78570d6551cb5f85fb79083d9bdddf7f86b3d6.tar.xz
slixmpp-2a78570d6551cb5f85fb79083d9bdddf7f86b3d6.zip
Fix setting IPv6 default configuration option.
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index a1b6ccd6..321e2694 100644
--- a/sleekxmpp/xmlstream/xmlstream.py
+++ b/sleekxmpp/xmlstream/xmlstream.py
@@ -212,6 +212,9 @@ class XMLStream(object):
#: proxy based on the settings in :attr:`proxy_config`.
self.use_proxy = False
+ #: If set to ``True``, attempt to use IPv6.
+ self.use_ipv6 = True
+
#: An optional dictionary of proxy settings. It may provide:
#: :host: The host offering proxy services.
#: :port: The port for the proxy service.