From 48be062d382ac12655f02654141403cf61f7c691 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Sat, 2 Apr 2011 21:49:48 +0200 Subject: [PATCH] Disable IPv6 in default configuration --- config | 6 +++--- radicale/config.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config b/config index ae672afc..7907b4d6 100644 --- a/config +++ b/config @@ -7,10 +7,10 @@ [server] # CalDAV server hostnames separated by a comma -# IPv4: address:port -# IPv6: [address]:port +# IPv4 syntax: address:port +# IPv6 syntax: [address]:port # IPv6 adresses are configured to only allow IPv6 connections -hosts = [::]:5232, 0.0.0.0:5232 +hosts = 0.0.0.0:5232 # Daemon flag daemon = False # SSL flag, enable HTTPS protocol diff --git a/radicale/config.py b/radicale/config.py index 8fe10272..f313d695 100644 --- a/radicale/config.py +++ b/radicale/config.py @@ -39,7 +39,7 @@ except ImportError: # Default configuration INITIAL_CONFIG = { "server": { - "hosts": "[::]:5232, 0.0.0.0:5232", + "hosts": "0.0.0.0:5232", "daemon": "False", "ssl": "False", "certificate": "/etc/apache2/ssl/server.crt",