From dc5931fc36f8fc6889bdebc154054f8079271176 Mon Sep 17 00:00:00 2001 From: Bart Date: Fri, 20 Feb 2026 03:59:33 +0900 Subject: [PATCH] docs: Clarifies default port of hosts (#5290) The current comment in the example cfg file incorrectly mentions both "may" and "must". This change fixes this comment to clarify that the default port of hosts is 2459 and that specifying it is therefore optional. It further sets the default port to 2459 instead of the legacy 51235. --- cfg/xahaud-example.cfg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cfg/xahaud-example.cfg b/cfg/xahaud-example.cfg index 8b8dc02dd..203e8f2cc 100644 --- a/cfg/xahaud-example.cfg +++ b/cfg/xahaud-example.cfg @@ -408,9 +408,11 @@ # starter list is included in the code and used if no other hostnames are # available. # -# One address or domain name per line is allowed. A port may must be -# specified after adding a space to the address. The ordering of entries -# does not generally matter. +# One address or domain name per line is allowed. A port may be specified +# after adding a space to the address. If a port is not specified, the default +# port of 2459 will be used. Many servers still use the legacy port of 51235. +# To connect to such servers, you must specify the port number. The ordering +# of entries does not generally matter. # # The default list of entries is: # - hubs.xahau.as16089.net 21337