From 2a78570d6551cb5f85fb79083d9bdddf7f86b3d6 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 20 Jun 2012 22:21:34 -0700 Subject: [PATCH] Fix setting IPv6 default configuration option. --- sleekxmpp/xmlstream/xmlstream.py | 3 +++ 1 file changed, 3 insertions(+) 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.