From b69442258162ec8f505520590ee06bd1fede5648 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 25 Jul 2024 20:34:40 +0800 Subject: IPv4 is a flag now --- config.md | 10 ++++------ 1 file 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. -- cgit v1.2.3