Просмотр исходного кода

Disable IPv6 in default configuration

Guillaume Ayoub 15 лет назад
Родитель
Сommit
48be062d38
2 измененных файлов с 4 добавлено и 4 удалено
  1. 3 3
      config
  2. 1 1
      radicale/config.py

+ 3 - 3
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

+ 1 - 1
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",