summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-07-25 20:34:40 +0800
committerRunxi Yu <me@runxiyu.org>2024-07-25 20:34:40 +0800
commitb69442258162ec8f505520590ee06bd1fede5648 (patch)
tree4fbd8e722de419ecba405e3dfb5c451395061fe8
parent7b315aed44c466b2149935b87734236472c969f1 (diff)
downloadhaxircd-docs-b69442258162ec8f505520590ee06bd1fede5648.tar.gz
haxircd-docs-b69442258162ec8f505520590ee06bd1fede5648.zip
IPv4 is a flag now
-rw-r--r--config.md10
1 files changed, 4 insertions, 6 deletions
diff --git a/config.md b/config.md
index 1f0661f..b123bba 100644
--- a/config.md
+++ b/config.md
@@ -85,9 +85,6 @@ struct server_config SERVER_CONFIG[] = {
/*
* The address to connect to, either as an IP address or as a domain
* name.
- * If it is possible that getaddrinfo(3) returns an IPv6 address, or
- * if an IPv6 address is specified directly, then IPv6 MUST be
- * enabled; otherwise the behavior is undefined.
*/
.port = STRING("7000"),
@@ -367,9 +364,10 @@ LAST_FUTEX = 1
LAST_MISERABLE_SPINLOCKS =
LAST_ATOMICS = 1
-# Should HaxIRCd support IPv6? If it is possible that getaddrinfo(3)
-# returns an IPv6 address, or if an IPv6 address is specified directly,
-# then IPv6 MUST be enabled; otherwise the behavior is undefined.
+# You must enable at least one of the below. Enabling both is recommended,
+# but if one of them is undesirable for whatever reason, you could turn it
+# off here.
+LAST_IPv4 = 1
LAST_IPv6 = 1
# General optoins.