From 264d6390273bcb7d704e4c7ad42a6ce2a1710a3e Mon Sep 17 00:00:00 2001 From: Randy Sommerfeld <cyan@synchro.net> Date: Mon, 24 Oct 2022 08:16:59 +0700 Subject: [PATCH] Detect local addresses a bit better --- exec/load/ircd/unregistered.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exec/load/ircd/unregistered.js b/exec/load/ircd/unregistered.js index bd95842b83..9abfc9e488 100644 --- a/exec/load/ircd/unregistered.js +++ b/exec/load/ircd/unregistered.js @@ -82,7 +82,9 @@ function Unregistered_Client(id,socket) { || (this.ip.slice(0,7) == "100.64.") || (this.ip.slice(0,7) == "172.16." ) || (this.ip.slice(0,2) == "::") - || (this.ip.slice(0,6).toUpperCase() == "FE80::") + || (this.ip.slice(0,2).toUpperCase() == "FC") + || (this.ip.slice(0,2).toUpperCase() == "FD") + || (this.ip.slice(0,2).toUpperCase() == "FE") ) { this.hostname = ServerName; this.dns_pending = false; -- GitLab