1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 01:23:12 +02:00

For ./unrealircd genlinkblock, for bind-ip detection, skip 127.0.0.1 and ::1.

This commit is contained in:
Bram Matthys
2025-05-24 16:25:38 +02:00
parent c836f394e5
commit 45f35f9cd2
+1 -1
View File
@@ -11515,7 +11515,7 @@ void link_generator(void)
if (lstn->tls_options)
tlsopt = lstn->tls_options;
port = lstn->port;
if (strcmp(lstn->ip, "*"))
if (strcmp(lstn->ip, "*") && strcmp(lstn->ip, "127.0.0.1") && strcmp(lstn->ip, "::1"))
ip = lstn->ip;
/* else NULL */
break;