Merge pull request #944 from Mkaysi/ipv6

src/conf.py: clear hosts4 & make hosts6 ::0
This commit is contained in:
Valentin Lorentz 2014-12-13 10:38:49 +01:00
commit 104b3efd44

View File

@ -1148,10 +1148,10 @@ class IP(registry.String):
registry.String.setValue(self, v) registry.String.setValue(self, v)
registerGlobalValue(supybot.servers.http, 'hosts4', registerGlobalValue(supybot.servers.http, 'hosts4',
IP('0.0.0.0', _("""Space-separated list of IPv4 hosts the HTTP server IP('', _("""Space-separated list of IPv4 hosts the HTTP server
will bind."""))) will bind.""")))
registerGlobalValue(supybot.servers.http, 'hosts6', registerGlobalValue(supybot.servers.http, 'hosts6',
IP('', _("""Space-separated list of IPv6 hosts the HTTP server will IP('::0', _("""Space-separated list of IPv6 hosts the HTTP server will
bind."""))) bind.""")))
registerGlobalValue(supybot.servers.http, 'port', registerGlobalValue(supybot.servers.http, 'port',
registry.Integer(8080, _("""Determines what port the HTTP server will registry.Integer(8080, _("""Determines what port the HTTP server will