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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user